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

Function isModuleWithProviders

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

Source from the content-addressed store, hash-verified

15import {stringifyForError} from '../util/stringify_utils';
16
17export function isModuleWithProviders(value: any): value is ModuleWithProviders<{}> {
18 return (value as {ngModule?: any}).ngModule !== undefined;
19}
20
21export function isNgModule<T>(value: Type<T>): value is Type<T> & {ɵmod: NgModuleDef<T>} {
22 return !!getNgModuleDef(value);

Callers 3

verifyStandaloneImportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…