Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rambda/index.d.ts>allPass

Faster and smaller alternative to Ramda
Latest
function allPass
import { allPass } from "https://deno.land/x/rambda@9.2.1/index.d.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