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

x/rambda/mod.ts>allPass

Faster and smaller alternative to Ramda
Go to Latest
function allPass
import { allPass } from "https://deno.land/x/rambda@9.2.1/mod.ts";

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