1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-07 09:30:44 +00:00
notes/node_modules/lodash/_setCacheHas.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05: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;