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

Method processOrNode

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

Source from the content-addressed store, hash-verified

257 }
258
259 processOrNode(node: Node) {
260 for (let i = 0; i < node.childList.length; i++) {
261 if (node.childList[i].type === "UNDEFINED") {
262 continue;
263 }
264 else if (node.childList[i].type === "OR") {
265 this.processChildList(node.childList[i].childList);
266 } else {
267 this.childList.push(node.childList[i]);
268 }
269 }
270 }
271}
272
273class NOT extends Node {

Callers 1

processChildListMethod · 0.95

Calls 1

processChildListMethod · 0.95

Tested by

no test coverage detected