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

Function isExistingProvider

packages/core/src/di/provider_collection.ts:413–415  ·  view source on GitHub ↗
(value: SingleProvider)

Source from the content-addressed store, hash-verified

411}
412
413export function isExistingProvider(value: SingleProvider): value is ExistingProvider {
414 return !!(value && (value as ExistingProvider).useExisting);
415}
416
417export function isFactoryProvider(value: SingleProvider): value is FactoryProvider {
418 return !!(value && (value as FactoryProvider).useFactory);

Callers 3

providerToFactoryFunction · 0.90
validateProviderFunction · 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…