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

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

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

Combines this collection with others into a new collection. None of the source collections are modified.

Examples

const newColl = someColl.concat(someOtherColl, anotherColl, ohBoyAColl);

Parameters

...collections: Collection<K, V>[]

Collections to merge