Checks if value is classified as a WeakMap object.
value
WeakMap
The value to check.
Returns true if value is a weak map, else false.
true
false
5.6.0
isWeakMap(new WeakMap)// => trueisWeakMap(new Map)// => false Copy
isWeakMap(new WeakMap)// => trueisWeakMap(new Map)// => false
Checks if
value
is classified as aWeakMap
object.