MCPcopy Create free account
hub / github.com/Project-DARC/DARC / processAndNode

Method processAndNode

darc-js/src/SDK/Node.ts:222–233  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

220 }
221
222 processAndNode(node: Node) {
223 for (let i = 0; i < node.childList.length; i++) {
224 if (node.childList[i].type === "UNDEFINED") {
225 continue;
226 }
227 else if (node.childList[i].type === "AND") {
228 this.processChildList(node.childList[i].childList);
229 } else {
230 this.childList.push(node.childList[i]);
231 }
232 }
233 }
234}
235
236class OR extends Node {

Callers 1

processChildListMethod · 0.95

Calls 1

processChildListMethod · 0.95

Tested by

no test coverage detected