* 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`.
(cache, key)
| 1059 | * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. |
| 1060 | */ |
| 1061 | function cacheHas(cache, key) { |
| 1062 | return cache.has(key); |
| 1063 | } |
| 1064 | |
| 1065 | /** |
| 1066 | * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol |
no outgoing calls
no test coverage detected