MCPcopy Create free account
hub / github.com/code-pushup/cli / wrapRow

Function wrapRow

packages/utils/src/lib/text-formats/html/table.ts:9–12  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

7}
8
9function wrapRow(content: string): string {
10 const elem = 'tr';
11 return `<${elem}>${NEW_LINE}${content}</${elem}>${NEW_LINE}`;
12}
13
14export function table(tableData: Table): string {
15 if (tableData.rows.length === 0) {

Callers 1

tableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected