Skip to main content
Module

x/rambda/index.d.ts>filter

Faster and smaller alternative to Ramda
Go to Latest
function filter
import { filter } from "https://deno.land/x/rambda@v7.0.1/index.d.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[]