diff options
Diffstat (limited to 'alarm/node_modules/lodash/isWeakSet.js')
-rw-r--r-- | alarm/node_modules/lodash/isWeakSet.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/alarm/node_modules/lodash/isWeakSet.js b/alarm/node_modules/lodash/isWeakSet.js deleted file mode 100644 index e628b26..0000000 --- a/alarm/node_modules/lodash/isWeakSet.js +++ /dev/null @@ -1,28 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var weakSetTag = '[object WeakSet]'; - -/** - * Checks if `value` is classified as a `WeakSet` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. - * @example - * - * _.isWeakSet(new WeakSet); - * // => true - * - * _.isWeakSet(new Set); - * // => false - */ -function isWeakSet(value) { - return isObjectLike(value) && baseGetTag(value) == weakSetTag; -} - -module.exports = isWeakSet; |