Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rambda/immutable.d.ts>filter

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

It filters list or object input using a predicate function.

Parameters

predicate: Predicate<T>

Returns

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

Parameters

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

Returns

readonly T[]