webhook/node_modules/table/dist/stringifyTableData.js.flow
2020-08-26 09:57:08 +10:00

11 lines
201 B
Text

/**
* Casts all cell values to a string.
*
* @param {table~row[]} rows
* @returns {table~row[]}
*/
export default (rows) => {
return rows.map((cells) => {
return cells.map(String);
});
};