MCPcopy
hub / github.com/webpack/webpack / delete

Method delete

lib/util/SortableSet.js:67–71  ·  view source on GitHub ↗

* Returns true if value existed in set, false otherwise. * @param {T} value value to delete * @returns {boolean} true if value existed in set, false otherwise

(value)

Source from the content-addressed store, hash-verified

65 * @returns {boolean} true if value existed in set, false otherwise
66 */
67 delete(value) {
68 this._invalidateCache();
69 this._invalidateOrderedCache();
70 return super.delete(value);
71 }
72
73 /**
74 * Describes how this clear operation behaves.

Callers 1

subtractRuntimeFunction · 0.95

Calls 2

_invalidateCacheMethod · 0.95

Tested by

no test coverage detected