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

Method get

lib/HookMap.js:19–21  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

17 }
18
19 get(key) {
20 return this._map.get(key);
21 }
22
23 for(key) {
24 // Hot path: inline the map lookup to skip the `this.get(key)`

Callers 5

registerFunction · 0.95
forMethod · 0.80
getOrCreateMetaFunction · 0.80
withCodSpeedFunction · 0.80
HookMap.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected