Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/formatjs/formatjs
/ IsCallable
Function
IsCallable
packages/ecma262-abstract/ToPrimitive.ts:11–13 ·
view source on GitHub ↗
(fn: any)
Source
from the content-addressed store, hash-verified
9
}
10
11
function
IsCallable(fn: any): fn is Function {
12
return
typeof fn ===
'function'
13
}
14
15
function
OrdinaryToPrimitive<
16
T extends
'string'
|
'number'
=
'string'
|
'number'
,
Callers
1
OrdinaryToPrimitive
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected