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

Function isFunction

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

Source from the content-addressed store, hash-verified

95}
96
97export function isFunction(value: any): value is Function {
98 return typeof value === 'function';
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.

Callers 6

isThenableFunction · 0.90
onDestroyMethod · 0.90
getOrCallFunction · 0.90
factoryFunction · 0.90
isNgModuleTypeFunction · 0.70
isParentNodeFunction · 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…