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

Function initFeatures

packages/core/src/render3/definition.ts:649–651  ·  view source on GitHub ↗
(definition: DirectiveDef<T> | ComponentDef<T>)

Source from the content-addressed store, hash-verified

647}
648
649function initFeatures<T>(definition: DirectiveDef<T> | ComponentDef<T>): void {
650 definition.features?.forEach((fn) => fn(definition));
651}
652
653export function extractDefListOrFactory<T>(
654 dependencies: TypeOrFactory<DependencyTypeList> | undefined,

Callers 2

ɵɵdefineComponentFunction · 0.85
ɵɵdefineDirectiveFunction · 0.85

Calls 2

fnFunction · 0.50
forEachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…