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

Method get

packages/core/src/render3/di.ts:899–907  ·  view source on GitHub ↗
(token: any, notFoundValue?: any, flags?: InternalInjectFlags | InjectOptions)

Source from the content-addressed store, hash-verified

897 ) {}
898
899 get(token: any, notFoundValue?: any, flags?: InternalInjectFlags | InjectOptions): any {
900 return getOrCreateInjectable(
901 this._tNode,
902 this._lView,
903 token,
904 convertToBitFlags(flags),
905 notFoundValue,
906 );
907 }
908}
909
910/** Creates a `NodeInjector` for the current node. */

Callers

nothing calls this directly

Calls 2

convertToBitFlagsFunction · 0.90
getOrCreateInjectableFunction · 0.85

Tested by

no test coverage detected