Sha256: 63644bb7c346b74226f5cf6e5d7712a91414dc9cbd28d0733817e72f121b2f3a

Contents?: true

Size: 450 Bytes

Versions: 273

Compression:

Stored size: 450 Bytes

Contents

var getMapData = require('./_getMapData');

/**
 * Removes `key` and its value from the map.
 *
 * @private
 * @name delete
 * @memberOf MapCache
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */
function mapCacheDelete(key) {
  var result = getMapData(this, key)['delete'](key);
  this.size -= result ? 1 : 0;
  return result;
}

module.exports = mapCacheDelete;

Version data entries

273 entries across 271 versions & 29 rubygems

Version Path
clapton-0.0.19 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
immosquare-cleaner-0.1.49 node_modules/lodash/_mapCacheDelete.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
immosquare-cleaner-0.1.48 node_modules/lodash/_mapCacheDelete.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/lodash/_mapCacheDelete.js