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