Module

x/rambda/immutable.d.ts>dropRepeats

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

It removes any successive duplicates according to R.equals.

Parameters

list: readonly T[]

Returns

readonly T[]