Module

x/rambda/immutable.d.ts>uniqBy

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

It applies uniqueness to input list based on function that defines what to be used for comparison between elements.

R.equals is used to determine equality.

Parameters

fn: (a: T) => U
list: readonly T[]

Returns

readonly T[]

Parameters

fn: (a: T) => U

Returns

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