MCPcopy Create free account
hub / github.com/microsoft/SandDance / maxY

Function maxY

docs/app/js/sanddance-app.js:137460–137462  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

137458 return x + c.x;
137459}
137460function maxY(children) {
137461 return 1 + children.reduce(maxYReduce, 0);
137462}
137463function maxYReduce(y, c) {
137464 return Math.max(y, c.y);
137465}

Callers 1

clusterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected