UNPKG

@fivem-ts/shared

Version:

FiveM Typescript wrapper shared part

16 lines (15 loc) 516 B
/** * Joins an array of strings into a single string with an optional separator. * * @example * ```ts * const result = arrayToString(["Hello", "World"], " "); * console.log(result); // "Hello World" * ``` * * @param {string} inputArray - The array of strings to join. * @param [separator=''] - The separator to use between each string. Defaults to an empty string. * * @return {string} The concatenated string. */ export declare function arrayToString(inputArray: string[], separator?: string): string;