Go to Latest
method BinaryHeap.prototype.drain
import { BinaryHeap } from "https://dotland.deno.dev/std@0.181.0/collections/binary_heap.ts";

Returns an iterator for retrieving and removing values from the binary heap.

Returns

IterableIterator<T>