Function isPrimitive

  • Checks if the given value is a primitive or not.

    Parameters

    • value: unknown

    Returns value is Primitive