Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/collection/src/Collection.ts>default#clone

Utility data structure for Deno (Discord.js Collection).
Latest
method default.prototype.clone
import { default } from "https://deno.land/x/collection@v1.0.1/src/Collection.ts";

Creates an identical shallow copy of this collection.

Examples

const newColl = someColl.clone();