is-weakmap Node module to easily check if an object is an ES6 WeakMap Installation $ npm install is-weakmap --save Usage const isWeakMap = require('is-weakmap'); isWeakMap(new WeakMap()); //=> true isWeakMap({}); //=> false Related is-map is-set is-weakset License MIT © Arthur Verschaeve