66630e9f4eca36adceeeb3ebdad2a3658082eda692c7c5ddd1dcd6e30e41e65edd5242e8b04be119453d2f06b72f9aea00a0d3bd5551186ae5544c8f9be67b 323 B

1234567891011121314
  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. module.exports = stackHas;