BinaryHeap.removeAny

ElementType!Store removeAny()

Removes the largest element from the heap and returns a copy of it. The element still resides in the heap's store. For performance reasons you may want to use removeFront with heaps of objects that are expensive to copy.