Skip to main content
Module

x/rambda/index.d.ts>anyPass

Faster and smaller alternative to Ramda
Latest
function anyPass
import { anyPass } from "https://deno.land/x/rambda@v9.2.0/index.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: ((x: T) => boolean)[]

Returns

(input: T) => boolean

Parameters

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

Returns

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