Const
Map over the tree node value.
The underlying type of the tree. For example, in a numeric tree it would be number.
number
New child node type and also result type of the given function.
The child node type, also called the carrier type.
the tree node to map over.
will be used as the mapping function.
A tree with the mapped value.
Map over the tree node value.