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

x/easyts/container/mod.ts>Heap#clone

js library written with ts, use select and chan like golang in js.
Latest
method Heap.prototype.clone
import { Heap } from "https://deno.land/x/easyts@0.1.3/container/mod.ts";

Create a full copy of the container

Parameters

optional
callback: CloneCallback<T>

How to create a duplicate copy of an element