Go to Latest
method BinaryHeap.prototype.drain
import { BinaryHeap } from "https://dotland.deno.dev/std@0.223.0/data_structures/mod.ts";

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

Returns

IterableIterator<T>