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

Function insertCell

src/layout-manager.js:119–125  ·  view source on GitHub ↗
(cell, row)

Source from the content-addressed store, hash-verified

117 }
118
119 function insertCell(cell, row) {
120 let x = 0;
121 while (x < row.length && row[x].x < cell.x) {
122 x++;
123 }
124 row.splice(x, 0, cell);
125 }
126
127 function fillInTable(table) {
128 let h_max = maxHeight(table);

Callers 2

addRowSpanCellsFunction · 0.85
fillInTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…