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

x/rambda/immutable.d.ts>reject

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

It has the opposite effect of R.filter.

Parameters

predicate: Predicate<T>
list: readonly T[]

Returns

readonly T[]

Returns

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