MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / impl

Function impl

static/main.ts:479–491  ·  view source on GitHub ↗
(component)

Source from the content-addressed store, hash-verified

477 let found = false as boolean;
478
479 function impl(component) {
480 if (component.id === '__glMaximised') {
481 found = true;
482 return;
483 }
484
485 if (component.content) {
486 for (let i = 0; i < component.content.length; i++) {
487 impl(component.content[i]);
488 if (found) return;
489 }
490 }
491 }
492
493 impl(config);
494

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected