Module

x/rambda/immutable.d.ts>any

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

It returns true, if at least one member of list returns true, when passed to a predicate function.

Parameters

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

Returns

boolean

Parameters

predicate: (x: T) => boolean

Returns

(list: readonly T[]) => boolean