Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barrior/JParticles
/ isFunction
Function
isFunction
src/utils/checking.ts:18–20 ·
view source on GitHub ↗
(value: any)
Source
from the content-addressed store, hash-verified
16
* 检测 value 是否为函数
17
*/
18
export
function
isFunction(value: any): boolean {
19
return
typeChecking(value,
'[object Function]'
)
20
}
21
22
/**
23
* 检测 value 是否为数组
Callers
2
checking.spec.ts
File · 0.90
on
Method · 0.90
Calls
1
typeChecking
Function · 0.85
Tested by
no test coverage detected