Skip to main content
Module

x/ramda/source/filter.js>default

:ram: Practical functional Javascript
Latest
variable default
import { default } from "https://deno.land/x/ramda@v0.27.2/source/filter.js";

Takes a predicate and a Filterable, and returns a new filterable of the same type containing the members of the given filterable which satisfy the given predicate. Filterable objects include plain objects or any object that has a filter method such as Array.

Dispatches to the filter method of the second argument, if present.

Acts as a transducer if a transformer is given in list position.