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

Function isFunction

packages/router/src/utils/type_guards.ts:26–28  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

24 * }
25 */
26export function isFunction<T>(v: any): v is T {
27 return typeof v === 'function';
28}
29
30export function isBoolean(v: any): v is boolean {
31 return typeof v === 'boolean';

Callers 5

isCanLoadFunction · 0.70
isCanActivateFunction · 0.70
isCanActivateChildFunction · 0.70
isCanDeactivateFunction · 0.70
isCanMatchFunction · 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…