mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
22 lines
426 B
JavaScript
22 lines
426 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = void 0;
|
||
|
|
||
|
/**
|
||
|
* Casts all cell values to a string.
|
||
|
*
|
||
|
* @param {table~row[]} rows
|
||
|
* @returns {table~row[]}
|
||
|
*/
|
||
|
const stringifyTableData = rows => {
|
||
|
return rows.map(cells => {
|
||
|
return cells.map(String);
|
||
|
});
|
||
|
};
|
||
|
|
||
|
var _default = stringifyTableData;
|
||
|
exports.default = _default;
|
||
|
//# sourceMappingURL=stringifyTableData.js.map
|