MCPcopy Create free account
hub / github.com/d3/d3-array / lastc

Function lastc

test/fcumsum-test.js:109–112  ·  view source on GitHub ↗
(values, valueof)

Source from the content-addressed store, hash-verified

107}
108
109function lastc(values, valueof) {
110 const array = fcumsum(values, valueof);
111 return array[array.length -1];
112}

Callers 1

fcumsum-test.jsFile · 0.85

Calls 1

fcumsumFunction · 0.85

Tested by

no test coverage detected