/** * Converts an array to a comma-separated string. * * @param arr - The input array. * @returns The comma-separated string or undefined if the input is not an array. * @example * const inputArray = ['a', 'b', 'c']; * const result = fromArray(inputArray); // 'a,b,c' */ export declare function fromArray(arr: T[]): string | undefined;