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

x/rambda/immutable.d.ts>anyPass

Faster and smaller alternative to Ramda
Latest
function anyPass
import { anyPass } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts";

It accepts list of predicates and returns a function. This function with its input will return true, if any of predicates returns true for this input.

Parameters

predicates: readonly ((x: T) => boolean)[]

Returns

(input: T) => boolean

Parameters

predicates: readonly ((...inputs: readonly T[]) => boolean)[]

Returns

(...inputs: readonly T[]) => boolean