mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
14
react-app/node_modules/lodash/internal/mapDelete.js
generated
vendored
Normal file
14
react-app/node_modules/lodash/internal/mapDelete.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Removes `key` and its value from the cache.
|
||||
*
|
||||
* @private
|
||||
* @name delete
|
||||
* @memberOf _.memoize.Cache
|
||||
* @param {string} key The key of the value to remove.
|
||||
* @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.
|
||||
*/
|
||||
function mapDelete(key) {
|
||||
return this.has(key) && delete this.__data__[key];
|
||||
}
|
||||
|
||||
module.exports = mapDelete;
|
Reference in New Issue
Block a user