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

x/revoltio/deps.ts>Collection#intersect

No-nonsense Revolt library for nodejs and deno.
Latest
method Collection.prototype.intersect
import { Collection } from "https://deno.land/x/revoltio@v1.0.0/deps.ts";

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

Parameters

other: ReadonlyCollection<K, T>

The other Collection to filter against