Removes and returns the top element of the min-heap.
The type of min-heap.
The min-heap instance.
The removed element or undefined if the heap is empty.
undefined
Removes and returns the top element of the min-heap.