MCPcopy
hub / github.com/webpack/webpack / add

Method add

lib/util/SortableSet.js:54–60  ·  view source on GitHub ↗

* Returns itself. * @param {T} value value to add to set * @returns {this} returns itself

(value)

Source from the content-addressed store, hash-verified

52 * @returns {this} returns itself
53 */
54 add(value) {
55 this._lastActiveSortFn = NONE;
56 this._invalidateCache();
57 this._invalidateOrderedCache();
58 super.add(value);
59 return this;
60 }
61
62 /**
63 * Returns true if value existed in set, false otherwise.

Callers 5

mergeRuntimeFunction · 0.95
mergeRuntimeOwnedFunction · 0.95
intersectRuntimeFunction · 0.95
subtractRuntimeFunction · 0.95
sortWithMethod · 0.45

Calls 2

_invalidateCacheMethod · 0.95

Tested by

no test coverage detected