Urara-Blog/node_modules/.pnpm-store/v3/files/37/b600dd436ea603c0e3a68806191ac5fc08352cd63412db1740815ca0f7932f534fae0a66e0901e90b1b032694765b324111c3ddc79e4d2c005b77c4ea48b4a
2022-08-14 01:14:53 +08:00

16 lines
382 B
Text

var getMapData = require('./_getMapData');
/**
* Checks if a map value for `key` exists.
*
* @private
* @name has
* @memberOf MapCache
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
function mapCacheHas(key) {
return getMapData(this, key).has(key);
}
module.exports = mapCacheHas;