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

x/rambda/mod.ts>filter

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

It filters list or object input using a predicate function.

Parameters

predicate: Predicate<T>

Returns

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

Parameters

predicate: Predicate<T>
input: T[]