You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
201 B

4 years ago
  1. /**
  2. * Casts all cell values to a string.
  3. *
  4. * @param {table~row[]} rows
  5. * @returns {table~row[]}
  6. */
  7. export default (rows) => {
  8. return rows.map((cells) => {
  9. return cells.map(String);
  10. });
  11. };