Sha256: 5f1e806872724b0a86a359e1b8d309159a5901aba9554f028a615c61cf2e33bd

Contents?: true

Size: 280 Bytes

Versions: 43

Compression:

Stored size: 280 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
govuk_publishing_components-16.19.0 node_modules/standard/node_modules/table/dist/stringifyTableData.js
govuk_publishing_components-16.18.0 node_modules/standard/node_modules/table/dist/stringifyTableData.js
govuk_publishing_components-16.17.0 node_modules/standard/node_modules/table/dist/stringifyTableData.js