Sha256: cf025a5fb7e480701d61e4ed60ed869fa835e0d0aed126daf0c62ba9b4d348ae

Contents?: true

Size: 337 Bytes

Versions: 273

Compression:

Stored size: 337 Bytes

Contents

/**
 * 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;

Version data entries

273 entries across 271 versions & 29 rubygems

Version Path
immosquare-cleaner-0.1.27 node_modules/lodash/_cacheHas.js
immosquare-cleaner-0.1.26 node_modules/lodash/_cacheHas.js
immosquare-cleaner-0.1.25 node_modules/lodash/_cacheHas.js
immosquare-cleaner-0.1.24 node_modules/lodash/_cacheHas.js
immosquare-cleaner-0.1.23 node_modules/lodash/_cacheHas.js
sumomo-0.10.4 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.10.3 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.10.2 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.10.1 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.10.0 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
reed_sdk-1.0.1 node_modules/lodash/_cacheHas.js
reed_sdk-1.0.0 node_modules/lodash/_cacheHas.js
boring_generators-0.12.0 tmp/templates/app_template/node_modules/lodash/_cacheHas.js
sumomo-0.9.0 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.8.22 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.8.21 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.8.20 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.8.17 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
sumomo-0.8.16 data/sumomo/api_modules/node_modules/lodash/_cacheHas.js
disco_app-0.18.0 test/dummy/node_modules/lodash/_cacheHas.js