BUPKIS
    Preparing search index...

    Function isWeakKey

    • Type guard for a valid WeakKey (object, function, or symbol).

      WeakMaps and WeakSets can only use objects (including functions) or symbols as keys, not primitives like strings, numbers, booleans, null, or undefined.

      Parameters

      • value: unknown

        Value to check

      Returns value is WeakKey

      true if the value is a valid WeakKey (object, function, or symbol), false otherwise