MCPcopy Create free account
hub / github.com/R-js/libRmath.js / isEmptyArray

Function isEmptyArray

src/lib/r-func.ts:287–289  ·  view source on GitHub ↗
(x: NumArray)

Source from the content-addressed store, hash-verified

285
286//ok
287export function isEmptyArray(x: NumArray): boolean {
288 return isArray(x) && x.length === 0;
289}
290
291//ok
292export const M_SQRT2 = 1.41421356237309504880168872421; /* sqrt(2) */

Callers

nothing calls this directly

Calls 1

isArrayFunction · 0.70

Tested by

no test coverage detected