Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
26
export
function
isFunction<T>(v: any): v is T {
27
return
typeof v ===
'function'
;
28
}
29
30
export
function
isBoolean(v: any): v is boolean {
31
return
typeof v ===
'boolean'
;
Callers
5
isCanLoad
Function · 0.70
isCanActivate
Function · 0.70
isCanActivateChild
Function · 0.70
isCanDeactivate
Function · 0.70
isCanMatch
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected