Module

x/rambda/immutable.d.ts>uniq

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

It returns a new array containing only one copy of each element of list.

R.equals is used to determine equality.

Parameters

list: readonly T[]

Returns

readonly T[]