method BinaryHeap.prototype.drain
BinaryHeap.prototype.drain(): IterableIterator<T>Returns an iterator for retrieving and removing values from the binary heap.
Return Type
IterableIterator<T>BinaryHeap.prototype.drain(): IterableIterator<T>Returns an iterator for retrieving and removing values from the binary heap.
IterableIterator<T>