Children: HasChildren returns whether this node has any children.
()
| 188 | |
| 189 | // HasChildren returns whether this node has any children. |
| 190 | func (n *NodeBase) HasChildren() bool { |
| 191 | return len(n.Children) > 0 |
| 192 | } |
| 193 | |
| 194 | // NumChildren returns the number of children this node has. |
| 195 | func (n *NodeBase) NumChildren() int { |
no outgoing calls
no test coverage detected