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

Function getNullInjector

packages/core/src/di/r3_injector.ts:105–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103let NULL_INJECTOR: Injector | undefined = undefined;
104
105export function getNullInjector(): Injector {
106 if (NULL_INJECTOR === undefined) {
107 NULL_INJECTOR = new NullInjector();
108 }
109 return NULL_INJECTOR;
110}
111
112/**
113 * An entry in the injector which tracks information about the given token, including a possible

Callers 4

constructorMethod · 0.90
createComponentFunction · 0.90
getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…