Module

x/rambda/rambda.js>dropRepeats

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

It removes any successive duplicates according to R.equals.

Parameters

list: T[]