• Returns true if the given type is a primitive type. (works as an instanceof in Typescript)

    Returns

    True if the type is a primitive type.

    Parameters

    • type: any

      The type to check

    Returns type is PrimitiveType

Generated using TypeDoc