f8aa636cc94860feaa9f41b27f3003c18c6678460f5cf7a8cc4aefd3013e1a908cd02eba4f1a88a71c5a786526b15fdec7f86f95a3acfbc34518a25111c5c8 321 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. export default stackHas;