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

x/rambda/index.d.ts>difference

Faster and smaller alternative to Ramda
Latest
function difference
import { difference } from "https://deno.land/x/rambda@9.4.1/index.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: T[]
b: T[]