• Given an AVL-tree anAvlTree and a value aValue, returns a boolean telling if the value belongs to the tree or not.

    Parameters

    • anAvlTree: AVLTree<any>

      the tree in which to insert

    • aValue: any

      the value considered

    Returns boolean

    • if the value is in the tree or not