mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
15 lines
314 B
JavaScript
15 lines
314 B
JavaScript
|
/**
|
||
|
* Checks if `value` is in the array cache.
|
||
|
*
|
||
|
* @private
|
||
|
* @name has
|
||
|
* @memberOf SetCache
|
||
|
* @param {*} value The value to search for.
|
||
|
* @returns {number} Returns `true` if `value` is found, else `false`.
|
||
|
*/
|
||
|
function setCacheHas(value) {
|
||
|
return this.__data__.has(value);
|
||
|
}
|
||
|
|
||
|
export default setCacheHas;
|