Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/src/enumerable.ts>Enumerable#all

A better way to work with processes in Deno.
Very Popular
Go to Latest
method Enumerable.prototype.all
import { Enumerable } from "https://deno.land/x/proc@0.20.42/src/enumerable.ts";

Return true if every element satisfies the provided testing function.

Parameters

allFn: (element: T) => boolean | Promise<boolean>

The testing function.

Returns

Promise<boolean>

true if every element satisfies the provided testing function.