//#region src/Array/none.d.ts /** * # none * * ```ts * function Array.none( * target: readonly T[], * predicate: ( * value: NoInfer, * index: number, * target: readonly NoInfer[], * ) => boolean, * ): boolean * ``` * * Returns `true` if no elements in `array` satisfy the provided `predicate` function, otherwise returns `false`. * * ## Example * * ```ts [data-first] * import { Array } from "@monstermann/array"; * * Array.none([1, 2, 3, 4], (x) => x > 10); // true * ``` * * ```ts [data-last] * import { Array } from "@monstermann/array"; * * pipe( * [1, 2, 3, 4], * Array.none((x) => x > 10), * ); // true * ``` * */ declare const none: { (predicate: (value: NoInfer, index: number, target: readonly NoInfer[]) => value is U): (target: T[]) => target is Exclude[]; (predicate: (value: NoInfer, index: number, target: readonly NoInfer[]) => value is U): (target: readonly T[]) => target is readonly Exclude[]; (predicate: (value: NoInfer, index: number, target: readonly NoInfer[]) => boolean): (target: readonly T[]) => boolean; (target: T[], predicate: (value: NoInfer, index: number, target: readonly NoInfer[]) => value is U): target is Exclude[]; (target: readonly T[], predicate: (value: NoInfer, index: number, target: readonly NoInfer[]) => value is U): target is readonly Exclude[]; (target: readonly T[], predicate: (value: NoInfer, index: number, target: readonly NoInfer[]) => boolean): boolean; }; //#endregion export { none };