CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
_hashDelete.js18 linesDownload Raw Back to lodash-es
1/**2 * Removes `key` and its value from the hash.3 *4 * @private5 * @name delete6 * @memberOf Hash7 * @param {Object} hash The hash to modify.8 * @param {string} key The key of the value to remove.9 * @returns {boolean} Returns `true` if the entry was removed, else `false`.10 */11function hashDelete(key) {12  var result = this.has(key) && delete this.__data__[key];13  this.size -= result ? 1 : 0;14  return result;15}16 17export default hashDelete;18 
basant307/AI_Governance_Project · CoolFace