mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v4.12.0.
This commit is contained in:
17
_setCacheHas.js
Normal file
17
_setCacheHas.js
Normal file
@@ -0,0 +1,17 @@
|
||||
define([], function() {
|
||||
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
return setCacheHas;
|
||||
});
|
||||
Reference in New Issue
Block a user