MCPcopy Create free account
hub / github.com/angular/angular / isModuleWithProviders

Function isModuleWithProviders

packages/core/src/render3/jit/util.ts:22–24  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

20}
21
22export function isModuleWithProviders(value: any): value is ModuleWithProviders<{}> {
23 return (value as {ngModule?: any}).ngModule !== undefined;
24}
25
26export function isNgModule<T>(value: Type<T>): value is Type<T> & {ɵmod: NgModuleDef<T>} {
27 return !!getNgModuleDef(value);

Callers 3

verifyStandaloneImportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected