NumChildren returns the number of children this node has.
()
| 193 | |
| 194 | // NumChildren returns the number of children this node has. |
| 195 | func (n *NodeBase) NumChildren() int { |
| 196 | return len(n.Children) |
| 197 | } |
| 198 | |
| 199 | // Child returns the child of this node at the given index and returns nil if |
| 200 | // the index is out of range. |
no outgoing calls
no test coverage detected