Module

x/rambda/rambda.js>filter

Faster and smaller alternative to Ramda
Go to Latest
function filter
import { filter } from "https://dotland.deno.dev/x/rambda@v9.2.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[]