1
0
mirror of https://gitea.com/actions/setup-node.git synced 2025-07-03 23:33:54 +08:00
setup-node/node_modules/lodash/_setCacheHas.js

15 lines
316 B
JavaScript
Raw Normal View History

2020-01-25 05:30:50 +08:00
/**
* 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;