1.0.0 • Published 7 years ago
hodash.is-set v1.0.0
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
1.0.0
7 years ago