hodash.is-map
v1.0.0
Published
Checks if the provided value is an ES6 Map.
Downloads
8
Readme
Check if that shit's an ES6 Map, baby.
const _isMap = require('hodash.ismap');
const map = new Map();
const notMap = {};
const dolphinatelyNotMap = null;
_isMap(map); // true
_isMap(notMap); // false
_isMap(dolphinatelyNotMap); // false