1 var assocHas = require('./_assocHas');
4 * Checks if a stack value for `key` exists.
9 * @param {string} key The key of the entry to check.
10 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
12 function stackHas(key) {
13 var data = this.__data__,
16 return array ? assocHas(array, key) : data.map.has(key);
19 module.exports = stackHas;