• Given a binary tree aBinaryTree, returns its left child. Raises an error if the tree does not have a left child.

    Parameters

    • aBinaryTree: Tree<any>

      the tree to consider

    Returns Tree<any>

    the left child if possible