Urara-Blog/node_modules/.pnpm-store/v3/files/54/188d665970a8b74115adf19c18ba048aefb0a5759c57be832343af06231b475f9672e5f856dcab13b9f2814eadc0c2a3531c9ee2e069f29002d6d6782ebdb2
2022-08-14 01:14:53 +08:00

19 lines
420 B
Text

var assocIndexOf = require('./_assocIndexOf');
/**
* Gets the list cache value for `key`.
*
* @private
* @name get
* @memberOf ListCache
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/
function listCacheGet(key) {
var data = this.__data__,
index = assocIndexOf(data, key);
return index < 0 ? undefined : data[index][1];
}
module.exports = listCacheGet;