• Given a heap aHeap, returns a boolean telling if the heap is empty (i.e contains no element and is in fact equal to empty)

    Parameters

    • aHeap: Heap<any>

      the heap to consider

    Returns boolean

    if the heap is empty or not