mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Remove references to _.
This commit is contained in:
5
isSet.js
5
isSet.js
@@ -8,17 +8,16 @@ const 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);
|
||||
* isSet(new Set);
|
||||
* // => true
|
||||
*
|
||||
* _.isSet(new WeakSet);
|
||||
* isSet(new WeakSet);
|
||||
* // => false
|
||||
*/
|
||||
const isSet = nodeIsSet
|
||||
|
||||
Reference in New Issue
Block a user