• Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) isPrimitive.

    Parameters

    • wat: unknown

      A value to be checked.

    Returns wat is Primitive

    A boolean representing the result.

Generated using TypeDoc