Skip to main content
Module

x/rambda/mod.ts>uniq

Faster and smaller alternative to Ramda
Go to Latest
function uniq
import { uniq } from "https://deno.land/x/rambda@v9.1.1/mod.ts";

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

R.equals is used to determine equality.

Parameters

list: T[]