source: trip-planner-front/node_modules/lodash/_cacheHas.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 337 bytes
Line 
1/**
2 * Checks if a `cache` value for `key` exists.
3 *
4 * @private
5 * @param {Object} cache The cache to query.
6 * @param {string} key The key of the entry to check.
7 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
8 */
9function cacheHas(cache, key) {
10 return cache.has(key);
11}
12
13module.exports = cacheHas;
Note: See TracBrowser for help on using the repository browser.