✏️ 编辑:_mapCacheDelete.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_mapCacheDelete.js
大小:450 B · 修改:2022-11-21 20:09:42 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var getMapData = require('./_getMapData'); /** * Removes `key` and its value from the map. * * @private * @name delete * @memberOf MapCache * @param {string} key The key of the value to remove. * @returns {boolean} Returns `true` if the entry was removed, else `false`. */ function mapCacheDelete(key) { var result = getMapData(this, key)['delete'](key); this.size -= result ? 1 : 0; return result; } module.exports = mapCacheDelete;
💾 保存
取消
保存为 UTF-8,换行统一为 LF