Files
NapCatQQ/.pnpm-store/v3/files/17/b02c4e6f123cb1970a6acf8bc19e1f202118162b51480a3589a0616ae2cf37c9f2646de0bb309d9f61705db74f54c22e4e64e676e0fdc09b6e5c3e53fa1add
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
337 B
Plaintext

/**
* Checks if a `cache` value for `key` exists.
*
* @private
* @param {Object} cache The cache to query.
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
function cacheHas(cache, key) {
return cache.has(key);
}
module.exports = cacheHas;