setup-php/node_modules/lodash/_setCacheHas.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

15 lines
316 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);
}
module.exports = setCacheHas;