isMap

Lang
since 4.3.0

Arguments

  • * The value to check.

Returns

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

Checks if value is classified as a Map object.

Example of Lodash _.isMap

_.isMap(new Map);
// => true

_.isMap(new WeakMap);
// => false