Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ length
Function
length
src/cross.js:1–3 ·
view source on GitHub ↗
(array)
Source
from the content-addressed store, hash-verified
1
function
length(array) {
2
return
array.length | 0;
3
}
4
5
function
empty(length) {
6
return
!(length > 0);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected