MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / walkIncludes

Function walkIncludes

scripts/javascript_natives/helpers.js:62–68  ·  view source on GitHub ↗

* @param thing *

(thing)

Source from the content-addressed store, hash-verified

60 * @param thing
61 * */
62function walkIncludes(thing) {
63 if (includes.has(thing.includes)) {
64 includes.get(thing.includes).push(thing.target);
65 } else {
66 includes.set(thing.includes, [thing.target]);
67 }
68}
69/**
70 * @param thing
71 * */

Callers 1

walkRootFunction · 0.85

Calls 4

getMethod · 0.65
setMethod · 0.65
hasMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected