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

Function nextLeft

docs/app/js/sanddance-app.js:138215–138218  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

138213// either given by the leftmost child of v or by the thread of v. The function
138214// returns null if and only if v is on the highest level of its subtree.
138215function nextLeft(v) {
138216 var children = v.children;
138217 return children ? children[0] : v.t;
138218}
138219// This function works analogously to nextLeft.
138220function nextRight(v) {
138221 var children = v.children;

Callers 1

apportionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected