706fb3871cad7dcb8cdc477a78d761592f2dc1ebdbd7e98a89244ce387cfea16.json 557 B

1
  1. {"ast":null,"code":"import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\nexport default mapCacheDelete;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}