Files
lodash/npm-package/_stackHas.js
Mathias Bynens 2e1c0f22f4 Add npm-package
2020-07-08 19:10:23 +02:00

15 lines
323 B
JavaScript

/**
* Checks if a stack value for `key` exists.
*
* @private
* @name has
* @memberOf Stack
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
function stackHas(key) {
return this.__data__.has(key);
}
module.exports = stackHas;