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

x/rambda/rambda.js>filter

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

It filters list or object input using a predicate function.

Parameters

predicate: Predicate<T>

Returns

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

Parameters

predicate: Predicate<T>
input: T[]