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

Function leafRight

docs/tests/v2/es6/js/sanddance.js:120806–120812  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

120804}
120805
120806function leafRight(node) {
120807 var children;
120808
120809 while (children = node.children) node = children[children.length - 1];
120810
120811 return node;
120812}
120813
120814function _default() {
120815 var separation = defaultSeparation,

Callers 1

clusterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected