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

Function conflictExists

src/layout-manager.js:67–79  ·  view source on GitHub ↗
(rows, x, y)

Source from the content-addressed store, hash-verified

65 }
66
67 function conflictExists(rows, x, y) {
68 let i_max = Math.min(rows.length - 1, y);
69 let cell = { x: x, y: y };
70 for (let i = 0; i <= i_max; i++) {
71 let row = rows[i];
72 for (let j = 0; j < row.length; j++) {
73 if (cellsConflict(cell, row[j])) {
74 return true;
75 }
76 }
77 }
78 return false;
79 }
80
81 function allBlank(rows, y, xMin, xMax) {
82 for (let x = xMin; x < xMax; x++) {

Callers 2

allBlankFunction · 0.85
fillInTableFunction · 0.85

Calls 1

cellsConflictFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…