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

x/rambda/rambda.js>dropRepeatsWith

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

Parameters

predicate: (x: T, y: T) => boolean
list: T[]

Parameters

predicate: (x: T, y: T) => boolean

Returns

(list: T[]) => T[]