main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
321 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * Checks if a stack value for `key` exists.
|
---|
3 | *
|
---|
4 | * @private
|
---|
5 | * @name has
|
---|
6 | * @memberOf Stack
|
---|
7 | * @param {string} key The key of the entry to check.
|
---|
8 | * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
---|
9 | */
|
---|
10 | function stackHas(key) {
|
---|
11 | return this.__data__.has(key);
|
---|
12 | }
|
---|
13 |
|
---|
14 | export default stackHas;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.