Given a value aVal and an array of children someChildren, returns a tree whose root is labeled by aVal and with someChildren as the children of the root. The function checks that someChildren is really an array of trees.
aVal
someChildren
a value at the root of the tree
an array of children trees
a tree with aVal at its root
Given a value
aValand an array of childrensomeChildren, returns a tree whose root is labeled byaValand withsomeChildrenas the children of the root. The function checks thatsomeChildrenis really an array of trees.