Skip to main content
Module

x/rambda/immutable.d.ts>difference

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

It returns the uniq set of all elements in the first list a not contained in the second list b.

R.equals is used to determine equality.

Parameters

a: readonly T[]
b: readonly T[]

Returns

readonly T[]

Parameters

a: readonly T[]

Returns

(b: readonly T[]) => readonly T[]