Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/easyts/container/heap.ts>remove

js library written with ts, use select and chan like golang in js.
Latest
function remove
import { remove } from "https://deno.land/x/easyts@0.1.3/container/heap.ts";

Remove removes and returns the element at index i from the heap.

Parameters

h: Array<T>
i: number
optional
cf: CompareCallback<T>
optional
rf: DeleteCallback<T>