blob: 9a492556e0a4cbc394b4a96236dae7d892914760 [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001/**
2 * Checks if `value` is in the array cache.
3 *
4 * @private
5 * @name has
6 * @memberOf SetCache
7 * @param {*} value The value to search for.
8 * @returns {number} Returns `true` if `value` is found, else `false`.
9 */
10function setCacheHas(value) {
11 return this.__data__.has(value);
12}
13
14module.exports = setCacheHas;