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

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

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

The intersect method returns a new structure containing items where the keys are present in both original structures.

Parameters

other: Collection<K, V>

The other Collection to filter against