MCPcopy Index your code
hub / github.com/angular/angular / isStandaloneComponent

Function isStandaloneComponent

packages/core/testing/src/test_bed_compiler.ts:1161–1164  ·  view source on GitHub ↗
(value: Type<T>)

Source from the content-addressed store, hash-verified

1159}
1160
1161function isStandaloneComponent<T>(value: Type<T>): value is ComponentType<T> {
1162 const def = getComponentDef(value);
1163 return !!def?.standalone;
1164}
1165
1166function getComponentDef(value: ComponentType<unknown>): ComponentDef<unknown>;
1167function getComponentDef(value: Type<unknown>): ComponentDef<unknown> | null;

Calls 1

getComponentDefFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…