@tsdotnet/type - v1.2.7
    Preparing search index...

    Function isPrimitiveOrSymbol

    For detecting if the value can be used as a key.

    • For detecting if the value can be used as a key.

      Parameters

      • value: unknown

      Returns value is symbol | NullablePrimitive

    • For detecting if the value can be used as a key.

      Parameters

      • value: unknown
      • allowUndefined: false

      Returns value is symbol | NullablePrimitive

    • For detecting if the value can be used as a key.

      Parameters

      • value: unknown
      • allowUndefined: boolean

      Returns value is undefined | symbol | NullablePrimitive