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