ixfx
    Preparing search index...

    Function isPrimitive

    • Returns true if value is number, string, bigint or boolean. Returns false if value is an object, null, undefined

      Use isPrimitiveOrObject to also return true if value is an object.

      Parameters

      • value: any

        Value to check

      Returns value is Primitive

      True if value is number, string, bigint or boolean.