✏️ 编辑:_listCacheHas.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_listCacheHas.js
大小:403 B · 修改:2022-11-21 20:09:42 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var assocIndexOf = require('./_assocIndexOf'); /** * Checks if a list cache value for `key` exists. * * @private * @name has * @memberOf ListCache * @param {string} key The key of the entry to check. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. */ function listCacheHas(key) { return assocIndexOf(this.__data__, key) > -1; } module.exports = listCacheHas;
💾 保存
取消
保存为 UTF-8,换行统一为 LF