MCPcopy 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
282export function isArray(x: unknown): boolean {
283 return Array.isArray(x) || x instanceof Float32Array || x instanceof Float64Array;
284}
285
286//ok
287export function isEmptyArray(x: NumArray): boolean {

Callers 1

isEmptyArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected