tree<T>(x, children?): Tree<T>
T
x
children
Tree
Helper function to build a tree node.
• T
The node value.
Iterable<Tree<T>>
Iterable
The children attached to the node,
Tree<T>
A tree.