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

Function maybeUnwrapModuleWithProviders

packages/core/src/render3/scope.ts:87–89  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

85}
86
87function maybeUnwrapModuleWithProviders(value: any): Type<any> {
88 return isModuleWithProviders(value) ? value.ngModule : (value as Type<any>);
89}

Callers

nothing calls this directly

Calls 1

isModuleWithProvidersFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…