Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
287
export
function
isEmptyArray(x: NumArray): boolean {
288
return
isArray(x) && x.length === 0;
289
}
290
291
//ok
292
export
const
M_SQRT2 = 1.41421356237309504880168872421; /* sqrt(2) */
Callers
nothing calls this directly
Calls
1
isArray
Function · 0.70
Tested by
no test coverage detected