aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_setCacheHas.js
blob: 9a492556e0a4cbc394b4a96236dae7d892914760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * 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);
}

module.exports = setCacheHas;