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

x/proc/mod.ts>Enumerable#every

A better way to work with processes in Deno.
Latest
method Enumerable.prototype.every
Re-export
import { Enumerable } from "https://deno.land/x/proc@0.22.1/mod.ts";

Return true if every element satisfies the provided testing function.

Parameters

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

The testing function.

Returns

Promise<boolean>

true if every element satisfies the provided testing function.