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

Method add

lib/util/LazySet.js:120–123  ·  lib/util/LazySet.js::LazySet.add

* Adds a single item immediately to the concrete backing set. * @param {T} item an item * @returns {LazySet<T>} itself

(item)

Source from the content-addressed store, hash-verified

118 * @returns {LazySet<T>} itself
119 */
120 add(item) {
121 this._set.add(item);
122 return this;
123 }
124
125 /**
126 * Queues another iterable or lazy set for later merging so large bulk adds

Callers 15

execMethod · 0.45
applyDefineKeyMethod · 0.45
addToMapMethod · 0.45
setResolvedModuleMethod · 0.45
updateModuleMethod · 0.45
updateParentMethod · 0.45
moveModuleConnectionsMethod · 0.45
addExtraReasonMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected