MCPcopy
hub / github.com/webpack/webpack / has

Method has

lib/optimize/ModuleConcatenationPlugin.js:969–971  ·  lib/optimize/ModuleConcatenationPlugin.js::ConcatConfiguration.has

* Returns true, when the module is in the module set. * @param {Module} module the module * @returns {boolean} true, when the module is in the module set

(module)

Source from the content-addressed store, hash-verified

967 * @returns {boolean} true, when the module is in the module set
968 */
969 has(module) {
970 return this.modules.has(module);
971 }
972
973 isEmpty() {
974 return this.modules.size === 1;

Callers 15

wasChunkRecordedMethod · 0.45
applySplitMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
getDependenciesMethod · 0.45
addMethod · 0.45
applyMethod · 0.45
getMergedModuleRuntimeFunction · 0.45
applyMethod · 0.45
integrateMethod · 0.45
_tryToAddMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected