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

Function copyData

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

Source from the content-addressed store, hash-verified

137580 return Array.isArray(d) ? d[1] : null;
137581}
137582function copyData(node) {
137583 if (node.data.value !== undefined) node.value = node.data.value;
137584 node.data = node.data.data;
137585}
137586function computeHeight(node) {
137587 var height = 0;
137588 do node.height = height;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected