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

x/rambda/immutable.d.ts>differenceWith

Faster and smaller alternative to Ramda
Latest
function differenceWith
import { differenceWith } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts";

Parameters

pred: (a: T1, b: T2) => boolean
list1: readonly T1[]
list2: readonly T2[]

Returns

readonly T1[]

Parameters

pred: (a: T1, b: T2) => boolean

Returns

(list1: readonly T1[], list2: readonly T2[]) => readonly T1[]

Parameters

pred: (a: T1, b: T2) => boolean
list1: readonly T1[]

Returns

(list2: readonly T2[]) => readonly T1[]