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

Function isValueProvider

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

Source from the content-addressed store, hash-verified

407});
408
409export function isValueProvider(value: SingleProvider): value is ValueProvider {
410 return value !== null && typeof value == 'object' && USE_VALUE in value;
411}
412
413export function isExistingProvider(value: SingleProvider): value is ExistingProvider {
414 return !!(value && (value as ExistingProvider).useExisting);

Callers 5

processProviderMethod · 0.90
providerToRecordFunction · 0.90
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…