stringifyTableData.js 426 B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /**
  7. * Casts all cell values to a string.
  8. *
  9. * @param {table~row[]} rows
  10. * @returns {table~row[]}
  11. */
  12. const stringifyTableData = rows => {
  13. return rows.map(cells => {
  14. return cells.map(String);
  15. });
  16. };
  17. var _default = stringifyTableData;
  18. exports.default = _default;
  19. //# sourceMappingURL=stringifyTableData.js.map