arthurvr / is-map

Node module to easily check if an object is an ES6 Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is-map Build Status

Node module to easily check if an object is an ES6 Map

Installation

$ npm install --save is-map

Usage

const isMap = require('is-map');

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

isMap({});
//=> false

Related

License

MIT © Arthur Verschaeve

About

Node module to easily check if an object is an ES6 Map

License:MIT License


Languages

Language:JavaScript 100.0%