Module

x/rambda/index.d.ts>uniqWith

Faster and smaller alternative to Ramda
Latest
function uniqWith
import { uniqWith } from "https://dotland.deno.dev/x/rambda@9.4.1/index.d.ts";

It returns a new array containing only one copy of each element in list according to predicate function.

This predicate should return true, if two elements are equal.

Parameters

predicate: (x: T, y: T) => boolean
list: T[]

Parameters

predicate: (x: T, y: T) => boolean

Returns

(list: T[]) => T[]