• Given a tree aTree, returns the value labeling its root.

    Parameters

    • aTree: TreeI<any>

      the tree to consider

    Returns any

    the value at its root