(node: SplootNode)
| 195 | } |
| 196 | |
| 197 | getRightChildOf(node: SplootNode): SplootNode { |
| 198 | const idx = this.children.indexOf(node) |
| 199 | if (idx + 1 >= this.children.length) { |
| 200 | return null |
| 201 | } |
| 202 | return this.children[idx + 1] |
| 203 | } |
| 204 | |
| 205 | isChild(node: SplootNode): boolean { |
| 206 | return this.children.indexOf(node) != -1 |
nothing calls this directly
no outgoing calls
no test coverage detected