Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ reducer
Function
reducer
src/cross.js:13–15 ·
view source on GitHub ↗
(reduce)
Source
from the content-addressed store, hash-verified
11
}
12
13
function
reducer(reduce) {
14
return
values => reduce(...values);
15
}
16
17
export
default
function
cross(...values) {
18
const
reduce = typeof values[values.length - 1] ===
"function"
&& reducer(values.pop());
Callers
2
cross
Function · 0.85
reduce
Function · 0.85
Calls
1
reduce
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…