MCPcopy 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 */
25export function isArray(value: any): boolean {
26 return Array.isArray(value)
27}
28
29/**
30 * 检测 value 是否为纯对象,即 {} 或 new Object() 创建的对象

Callers 2

checking.spec.tsFile · 0.90
getShapeDataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected