method BinaryHeap.prototype.toArrayimport { BinaryHeap } from "https://deno.land/std@0.223.0/data_structures/binary_heap.ts"; toArray(): T[]Returns the underlying cloned array in arbitrary order without sorting ReturnsT[]