MCPcopy
hub / github.com/webpack/tapable / isUsed

Method isUsed

lib/Hook.js:159–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 isUsed() {
160 return this.taps.length > 0 || this.interceptors.length > 0;
161 }
162
163 intercept(interceptor) {
164 this._resetCompilation();

Callers 4

withOptionsMethod · 0.95
registerFunction · 0.45
Hook.test.jsFile · 0.45
MultiHook.test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected