//#region src/Array/join.d.ts /** * # join * * ```ts * function Array.join( * target: readonly T[], * separator: string, * ): string * ``` * * Joins all elements of `array` into a string, separated by the specified `separator`. * * ## Example * * ```ts [data-first] * import { Array } from "@monstermann/array"; * * Array.join([1, 2, 3], ", "); // "1, 2, 3" * ``` * * ```ts [data-last] * import { Array } from "@monstermann/array"; * * pipe([1, 2, 3], Array.join(", ")); // "1, 2, 3" * ``` * */ declare const join: { (separator: string): (target: readonly T[]) => string; (target: readonly T[], separator: string): string; }; //#endregion export { join };