* 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)
| 11656 | * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. |
| 11657 | */ |
| 11658 | function cacheHas(cache, key) { |
| 11659 | return cache.has(key); |
| 11660 | } |
| 11661 | |
| 11662 | /** |
| 11663 | * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol |
no outgoing calls
no test coverage detected