X

Create New Item

File Folder

X

Search Results

File "_cacheHas.js"

Full path: /home/oviigi/public_html/awooka.com/node_modules/lodash-es/_cacheHas.js
File size: 335 B
MIME-type: application/javascript
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

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

export default cacheHas;