CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
_baseIsSet.js19 linesDownload Raw Back to lodash
1var getTag = require('./_getTag'),2    isObjectLike = require('./isObjectLike');3 4/** `Object#toString` result references. */5var setTag = '[object Set]';6 7/**8 * The base implementation of `_.isSet` without Node.js optimizations.9 *10 * @private11 * @param {*} value The value to check.12 * @returns {boolean} Returns `true` if `value` is a set, else `false`.13 */14function baseIsSet(value) {15  return isObjectLike(value) && getTag(value) == setTag;16}17 18module.exports = baseIsSet;19 
basant307/AI_Governance_Project · CoolFace