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

Function isStandalone

packages/core/src/render3/def_getters.ts:84–87  ·  view source on GitHub ↗
(type: Type<unknown>)

Source from the content-addressed store, hash-verified

82 * @publicApi
83 */
84export function isStandalone(type: Type<unknown>): boolean {
85 const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type);
86 return def !== null && def.standalone;
87}

Callers 6

bootstrapImplMethod · 0.90
transitiveScopesForFunction · 0.90
computeNgModuleScopeMethod · 0.90

Calls 3

getDirectiveDefFunction · 0.85
getComponentDefFunction · 0.70
getPipeDefFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…