@annexe/map.ismap
v0.1.1
Published
A utility function that checks if a value is a map object.
Downloads
2
Readme
@annexe/ismap
A utility function that checks if a value is a map object.
Installation
To install @annexe/ismap:
Yarn
yarn add @annexe/ismap
NPM
npm install @annexe/ismap
Usage
import { isMap } from '@annexe/ismap';
console.log(isMap(123)); // logs FALSE
console.log(isMap(new Map()); // logs TRUE