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

Function isFactoryProvider

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

Source from the content-addressed store, hash-verified

415}
416
417export function isFactoryProvider(value: SingleProvider): value is FactoryProvider {
418 return !!(value && (value as FactoryProvider).useFactory);
419}
420
421export function isTypeProvider(value: SingleProvider): value is TypeProvider {
422 return typeof value === 'function';

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…