Newer
Older
alert / js / node_modules / lodash / _setCacheHas.js
@Réz István Réz István on 18 Nov 2021 316 bytes first commit
/**
 * 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;