dotfiles/.vscode/extensions/vscodevim.vim-0.2.0/node_modules/lodash/_mapCacheDelete.js

17 lines
396 B
JavaScript
Raw Normal View History

2016-09-11 09:29:13 +01:00
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) {
return getMapData(this, key)['delete'](key);
}
module.exports = mapCacheDelete;