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

x/rambda/mod.ts>dropRepeats

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

It removes any successive duplicates according to R.equals.

Parameters

list: T[]