isWeakMap

Lang
since 4.3.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a weak map, else `false`.

Checks if value is classified as a WeakMap object.

Example of Lodash _.isWeakMap

_.isWeakMap(new WeakMap);
// => true

_.isWeakMap(new Map);
// => false