Module

x/rambda/mod.ts>all

Faster and smaller alternative to Ramda
Latest
function all
import { all } from "https://dotland.deno.dev/x/rambda@9.4.1/mod.ts";

It returns true, if all members of array list returns true, when applied as argument to predicate function.

Parameters

predicate: (x: T) => boolean
list: T[]

Returns

boolean

Parameters

predicate: (x: T) => boolean

Returns

(list: T[]) => boolean