• Given an AVL-tree anAvlTree, returns a boolean telling if the tree is a leaf or not (i.e if it has no children).

    Parameters

    • anAvlTree: AVLTree<any>

      the tree to consider

    Returns boolean

    is the tree has no children