_.isWeakMap(value)
Checks if value
is classified as a WeakMap
object.
Since
4.3.0
Arguments
-
value
(*): The value to check.
Returns
(boolean): Returns true
if value
is a weak map, else false
.
Example
_.isWeakMap(new WeakMap); // => true _.isWeakMap(new Map); // => false
Please login to continue.