//#region src/Array/concat.d.ts /** * # concat * * ```ts * function Array.concat(target: T[], source: NoInfer[]): T[] * ``` * * Concatenates `source` array to the end of `array`, returning a new array with the combined elements. * * ## Example * * ```ts [data-first] * import { Array } from "@monstermann/array"; * * Array.concat([1, 2], [3, 4]); // [1, 2, 3, 4] * ``` * * ```ts [data-last] * import { Array } from "@monstermann/array"; * * pipe([1, 2], Array.concat([3, 4])); // [1, 2, 3, 4] * ``` * */ declare const concat: { (source: NoInfer[]): (target: T[]) => T[]; (target: T[], source: NoInfer[]): T[]; }; //#endregion export { concat };