This commit is contained in:
Stephen Franceschelli
2019-07-15 13:57:37 -04:00
parent b387336039
commit c58156a47c
7043 changed files with 0 additions and 1866383 deletions

28
node_modules/lodash/isWeakSet.js generated vendored
View File

@@ -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;