hodash.is-set
v1.0.0
Published
Checks if the provided value is an ES6 Set.
Downloads
76
Readme
Check if that shit's an ES6 Set, baby.
const _isSet = require('hodash.isset');
const set = new Set();
const notSet = {};
const dolphinatelyNotSet = null;
_isSet(set); // true
_isSet(notSet); // false
_isSet(dolphinatelyNotSet); // false