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

Function isNgModuleType

packages/upgrade/src/common/src/util.ts:101–104  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

99}
100
101export function isNgModuleType(value: any): value is Type<unknown> {
102 // NgModule class should have the `ɵmod` static property attached by AOT or JIT compiler.
103 return isFunction(value) && !!value[ɵNG_MOD_DEF];
104}
105
106function isParentNode(node: Node | ParentNode): node is ParentNode {
107 return isFunction((node as unknown as ParentNode).querySelectorAll);

Callers

nothing calls this directly

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…