//#region src/Array/includes.d.ts /** * # includes * * ```ts * function Array.includes( * target: readonly T[], * value: NoInfer, * ): boolean * ``` * * Returns `true` if `array` contains `value`, otherwise returns `false`. * * ## Example * * ```ts [data-first] * import { Array } from "@monstermann/array"; * * Array.includes([1, 2, 3, 4], 3); // true * ``` * * ```ts [data-last] * import { Array } from "@monstermann/array"; * * pipe([1, 2, 3, 4], Array.includes(3)); // true * ``` * */ declare const includes: { (value: NoInfer): (target: readonly T[]) => boolean; (target: readonly T[], value: NoInfer): boolean; }; //#endregion export { includes };