method BinaryHeap.prototype.drainimport { BinaryHeap } from "https://deno.land/std@0.147.0/collections/binary_heap.ts"; drain(): IterableIterator<T>Returns an iterator for retrieving and removing values from the binary heap. Returns an iterator for retrieving and removing values from the binary heap. ReturnsIterableIterator<T>