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#difference

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

The difference method returns a new structure containing items where the key is present in one of the original structures but not the other.

Parameters

other: ReadonlyCollection<K, T>

The other Collection to filter against