function isWeakSet
Jump to headingisWeakSet(object: unknown): object is WeakSet<object>
Returns true
if the value is a built-in WeakSet
instance.
util.types.isWeakSet(new WeakSet()); // Returns true
Parameters Jump to heading
Jump to headingobject: unknown
Return Type Jump to heading
object is WeakSet<object>