Skip to content

Commit cb59828

Browse files
chore: pre pr checks
1 parent 25ffcb8 commit cb59828

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/lib/transform-to-csv.lib.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
* - Dates are converted into ISO string format
1515
* - Strings are escaped to handle special characters (e.g., ',', '/', '.', '\\', '"', '\n')
1616
*
17-
* @param {Array} arrayToTransform - An array of data to transform. Each element can be of any type (string, number, object, boolean, date, etc.)
17+
* @param {Array} arrayToTransform - An array of data to transform. Each element can be of any type
18+
* (string, number, object, boolean, date, etc.)
1819
*
19-
* @returns {string} A CSV formatted string with each value separated by commas, and rows separated by newline characters (`\n`).
20+
* @returns {string} A CSV formatted string with each value separated by commas,
21+
* with a separated by newline characters (`\n`) to signify the end of the row.
2022
*
2123
* @private
2224
*/

0 commit comments

Comments
 (0)