fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
27
node_modules/lodash/isSet.js
generated
vendored
Normal file
27
node_modules/lodash/isSet.js
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
var baseIsSet = require('./_baseIsSet'),
|
||||
baseUnary = require('./_baseUnary'),
|
||||
nodeUtil = require('./_nodeUtil');
|
||||
|
||||
/* Node.js helper references. */
|
||||
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
||||
|
||||
/**
|
||||
* Checks if `value` is classified as a `Set` object.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.3.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isSet(new Set);
|
||||
* // => true
|
||||
*
|
||||
* _.isSet(new WeakSet);
|
||||
* // => false
|
||||
*/
|
||||
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
||||
|
||||
module.exports = isSet;
|
Loading…
Add table
Add a link
Reference in a new issue