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

Function getDowngradedModuleCount

packages/upgrade/src/common/src/util.ts:85–89  ·  view source on GitHub ↗
($injector: IInjectorService)

Source from the content-addressed store, hash-verified

83}
84
85export function getDowngradedModuleCount($injector: IInjectorService): number {
86 return $injector.has(DOWNGRADED_MODULE_COUNT_KEY)
87 ? $injector.get(DOWNGRADED_MODULE_COUNT_KEY)
88 : 0;
89}
90
91export function getUpgradeAppType($injector: IInjectorService): UpgradeAppType {
92 return $injector.has(UPGRADE_APP_TYPE_KEY)

Callers 2

directiveFactoryFunction · 0.90
validateInjectionKeyFunction · 0.85

Calls 2

hasMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…