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

Function ascendingValue

test/least-test.js:62–64  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

60}
61
62function ascendingValue(a, b) {
63 return a.value - b.value;
64}
65
66function descendingValue(a, b) {
67 return b.value - a.value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected