isWeakSet es-toolkit
Checks if a given value is a WeakSet instance.
Usage
isWeakSet(value)
Use isWeakSet when you want to check if a value is a WeakSet instance.
Parameters
valueunknownrequired
The value to check if it's a WeakSet instance.
Returns
Returns true if the value is a WeakSet instance, false otherwise.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.