Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barrior/JParticles
/ isArray
Function
isArray
src/utils/checking.ts:25–27 ·
view source on GitHub ↗
(value: any)
Source
from the content-addressed store, hash-verified
23
* 检测 value 是否为数组
24
*/
25
export
function
isArray(value: any): boolean {
26
return
Array.isArray(value)
27
}
28
29
/**
30
* 检测 value 是否为纯对象,即 {} 或
new
Object() 创建的对象
Callers
2
checking.spec.ts
File · 0.90
getShapeData
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected