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

Method stylizeLine

src/cell.js:265–272  ·  view source on GitHub ↗
(left, content, right)

Source from the content-addressed store, hash-verified

263 }
264
265 stylizeLine(left, content, right) {
266 left = this.wrapWithStyleColors('border', left);
267 right = this.wrapWithStyleColors('border', right);
268 if (this.y === 0) {
269 content = this.wrapWithStyleColors('head', content);
270 }
271 return left + content + right;
272 }
273
274 /**
275 * Renders the bottom line of the cell.

Callers 2

drawLineMethod · 0.95
drawEmptyMethod · 0.95

Calls 1

wrapWithStyleColorsMethod · 0.95

Tested by

no test coverage detected