Module

x/rambda/mod.ts>dropRepeats

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

It removes any successive duplicates according to R.equals.

Parameters

list: T[]