Urara-Blog/node_modules/.pnpm-store/v3/files/fa/4417333f7b9e6f483ea0195e7dacce70f358f68a0a30ff008d42f3feb559cbdbf76560645c75f9dc188c7e380fc4b8712cb85699122b43a96786a73333137e
2022-08-14 01:14:53 +08:00

16 lines
403 B
Text

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;