MCPcopy Create free account
hub / github.com/SplootCode/splootcode / getLeftChildOf

Method getLeftChildOf

packages/core/src/language/childset.ts:192–195  ·  view source on GitHub ↗
(node: SplootNode)

Source from the content-addressed store, hash-verified

190 }
191
192 getLeftChildOf(node: SplootNode): SplootNode {
193 const idx = this.children.indexOf(node)
194 return this.children[idx - 1]
195 }
196
197 getRightChildOf(node: SplootNode): SplootNode {
198 const idx = this.children.indexOf(node)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected