Module

x/rambda/rambda.js>any

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

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

Parameters

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

Returns

boolean

Parameters

predicate: (x: T) => boolean

Returns

(list: T[]) => boolean