Skip to main content
Module

x/rambda/rambda.js>dropRepeats

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

It removes any successive duplicates according to R.equals.

Parameters

list: T[]