Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/R-js/libRmath.js
/ isArray
Function
isArray
src/lib/r-func.ts:282–284 ·
view source on GitHub ↗
(x: unknown)
Source
from the content-addressed store, hash-verified
280
//beta
281
//ok
282
export
function
isArray(x: unknown): boolean {
283
return
Array.isArray(x) || x instanceof Float32Array || x instanceof Float64Array;
284
}
285
286
//ok
287
export
function
isEmptyArray(x: NumArray): boolean {
Callers
1
isEmptyArray
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected