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

Function leafLeft

docs/app/js/sanddance-app.js:137466–137470  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

137464 return Math.max(y, c.y);
137465}
137466function leafLeft(node) {
137467 var children;
137468 while(children = node.children)node = children[0];
137469 return node;
137470}
137471function leafRight(node) {
137472 var children;
137473 while(children = node.children)node = children[children.length - 1];

Callers 1

clusterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected