CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
_listCacheHas.js17 linesDownload Raw Back to lodash
1var assocIndexOf = require('./_assocIndexOf');2 3/**4 * Checks if a list cache value for `key` exists.5 *6 * @private7 * @name has8 * @memberOf ListCache9 * @param {string} key The key of the entry to check.10 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.11 */12function listCacheHas(key) {13  return assocIndexOf(this.__data__, key) > -1;14}15 16module.exports = listCacheHas;17 
basant307/AI_Governance_Project · CoolFace