is-map-x
Detect whether or not an object is an ES6 Map.
module.exports(object)
⇒ boolean
⏏
Determine if an object
is a Map
.
Kind: Exported function
Returns: boolean
- true
if the object
is a Map
,
else false
.
Param | Type | Description |
---|---|---|
object | * |
The object to test. |
Example
; const m = ; console; // falseconsole; // falseconsole; // true