Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/formatjs/formatjs
/ IsCallable
Function
IsCallable
packages/ecma262-abstract/OrdinaryHasInstance.ts:1–3 ·
view source on GitHub ↗
(fn: any)
Source
from the content-addressed store, hash-verified
1
function
IsCallable(fn: any): fn is Function {
2
return
typeof fn ===
'function'
3
}
4
5
/**
6
* https:
//tc39.es/ecma262/#sec-ordinaryhasinstance
Callers
1
OrdinaryHasInstance
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected