Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
87
function
maybeUnwrapModuleWithProviders(value: any): Type<any> {
88
return
isModuleWithProviders(value) ? value.ngModule : (value as Type<any>);
89
}
Callers
nothing calls this directly
Calls
1
isModuleWithProviders
Function · 0.90
Tested by
no test coverage detected