Last change
on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
316 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * Checks if `value` is in the array cache.
|
---|
| 3 | *
|
---|
| 4 | * @private
|
---|
| 5 | * @name has
|
---|
| 6 | * @memberOf SetCache
|
---|
| 7 | * @param {*} value The value to search for.
|
---|
| 8 | * @returns {number} Returns `true` if `value` is found, else `false`.
|
---|
| 9 | */
|
---|
| 10 | function setCacheHas(value) {
|
---|
| 11 | return this.__data__.has(value);
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | module.exports = setCacheHas;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.