mwbot-ts - v1.3.2
    Preparing search index...

    Function isPrimitive

    • Checks whether the given value is a JavaScript primitive.

      This includes string, number, boolean, bigint, symbol, undefined, and null.

      Parameters

      • value: unknown

        The value to test.

      Returns value is Primitive

      true if the value is a primitive; otherwise, false.