MCPcopy Index your code
hub / github.com/angular/angular-cli / isNgModule

Function isNgModule

packages/angular/ssr/src/utils/ng.ts:169–171  ·  view source on GitHub ↗
(value: AngularBootstrap)

Source from the content-addressed store, hash-verified

167 * @returns True if the value is an Angular module (i.e., it has the `ɵmod` property), false otherwise.
168 */
169export function isNgModule(value: AngularBootstrap): value is Type<unknown> {
170 return 'ɵmod' in value;
171}
172
173/**
174 * Gracefully destroys the application in a macrotask, allowing pending promises to resolve

Callers 2

renderAngularFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected