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

Function isInjectable

packages/core/src/di/interface/defs.ts:211–213  ·  view source on GitHub ↗
(type: any)

Source from the content-addressed store, hash-verified

209}
210
211export function isInjectable(type: any): boolean {
212 return getInjectableDef(type) !== null;
213}
214
215/**
216 * Return definition only if it is defined directly on `type` and is not inherited from a base

Callers 1

Calls 1

getInjectableDefFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…