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

x/rambda/mod.ts>any

Faster and smaller alternative to Ramda
Go to Latest
function any
import { any } from "https://deno.land/x/rambda@9.2.1/mod.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: T[]

Returns

boolean

Parameters

predicate: (x: T) => boolean

Returns

(list: T[]) => boolean