Function isPrimitive

  • Checks if obj is a primitive of type.

    Type Parameters

    • T

    Parameters

    Returns boolean