Afanasev_Stepan_PIbd-21_IP/ИП 2 лаба/node_modules/lodash/_setCacheHas.js
[USERNAME] 0dd26716dc Lab2-5
2024-01-10 16:11:49 +04:00

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;