mirror of https://github.com/lukechilds/node.git
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.
27 lines
601 B
27 lines
601 B
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
var _map2 = require('lodash/map');
|
|
|
|
var _map3 = _interopRequireDefault(_map2);
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
/**
|
|
* Casts all cell values to a string.
|
|
*
|
|
* @param {table~row[]} rows
|
|
* @return {table~row[]}
|
|
*/
|
|
|
|
exports.default = function (rows) {
|
|
return (0, _map3.default)(rows, function (cells) {
|
|
return (0, _map3.default)(cells, String);
|
|
});
|
|
};
|
|
|
|
module.exports = exports['default'];
|
|
//# sourceMappingURL=stringifyTableData.js.map
|
|
|