Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/revoltio/src/lib.ts>Collection#concat

No-nonsense Revolt library for nodejs and deno.
Latest
method Collection.prototype.concat
Re-export
import { Collection } from "https://deno.land/x/revoltio@v1.0.0/src/lib.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: ReadonlyCollection<K, V>[]

Collections to merge