Checks if the type of value is a WeakSet object.
Value to be checked.
True if the value is a WeakSet, false otherwise.
isWeakSet(new WeakSet()); // trueisWeakSet(new Set()); // falseisWeakSet({}); // falseisWeakSet(null); // false Copy
isWeakSet(new WeakSet()); // trueisWeakSet(new Set()); // falseisWeakSet({}); // falseisWeakSet(null); // false
Checks if the type of value is a WeakSet object.