Module

x/rambda/rambda.js>allPass

Faster and smaller alternative to Ramda
Go to Latest
function allPass
import { allPass } from "https://dotland.deno.dev/x/rambda@v9.2.0/rambda.js";

It returns true, if all functions of predicates return true, when input is their argument.

Parameters

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

Returns

(input: T) => boolean

Parameters

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

Returns

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