none
Array.none(array, predicate)
Returns true if no elements in array satisfy the provided predicate function, otherwise returns false.
Example
ts
import { Array } from "@monstermann/array";
Array.none([1, 2, 3, 4], (x) => x > 10); // truets
import { Array } from "@monstermann/array";
pipe(
[1, 2, 3, 4],
Array.none((x) => x > 10),
); // true