Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_stackDelete.js « lodash « node_modules « eslint « tools - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c60260c73050410b6b4a649ab6c67f8e7aa715b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Removes `key` and its value from the stack.
 *
 * @private
 * @name delete
 * @memberOf Stack
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */
function stackDelete(key) {
  return this.__data__['delete'](key);
}

module.exports = stackDelete;