Skip to main content
Module

x/rambda/immutable.d.ts>reject

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

It has the opposite effect of R.filter.

Parameters

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

Returns

readonly T[]

Parameters

predicate: Predicate<T>

Returns

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

Parameters

predicate: Predicate<T>
obj: Dictionary<T>

Returns

Dictionary<T>

Parameters

predicate: Predicate<T>

Returns

(obj: Dictionary<T>) => Dictionary<T>