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

x/rambda/mod.ts>difference

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