Checks if value is classified as a WeakSet object.
value
WeakSet
The value to check.
Returns true if value is a weak set, else false.
true
false
5.6.0
isWeakSet(new WeakSet)// => trueisWeakSet(new Set)// => false Copy
isWeakSet(new WeakSet)// => trueisWeakSet(new Set)// => false
Checks if
value
is classified as aWeakSet
object.