MCPcopy Create free account
hub / github.com/cli-table/cli-table3 / doDraw

Function doDraw

src/table.js:97–104  ·  view source on GitHub ↗
(row, lineNum, result)

Source from the content-addressed store, hash-verified

95Table.reset = () => debug.reset();
96
97function doDraw(row, lineNum, result) {
98 let line = [];
99 row.forEach(function (cell) {
100 line.push(cell.draw(lineNum));
101 });
102 let str = line.join('');
103 if (str.length) result.push(str);
104}
105
106module.exports = Table;

Callers 1

toStringMethod · 0.85

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…