includesNone
ts
function Array.includesNone<T>(
target: readonly T[],
values: Iterable<NoInfer<T>>,
): booleanReturns true if array contains none of the values, otherwise returns false. Supports iterables for the values parameter.
Example
ts
import { Array } from "@monstermann/array";
Array.includesNone([1, 2, 3, 4], [5, 6, 7]); // truets
import { Array } from "@monstermann/array";
pipe([1, 2, 3, 4], Array.includesNone([5, 6, 7])); // true