MCPcopy Index your code
hub / github.com/enowdev/enowX-Coder / isTableRow

Function isTableRow

src/lib/utils.ts:151–155  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

149}
150
151function isTableRow(line: string): boolean {
152 if (!line) return false;
153 const t = line.trim();
154 return t.startsWith('|') && t.endsWith('|') && t.length > 2 && !isSeparatorRow(t);
155}
156
157function isSeparatorRow(line: string): boolean {
158 if (!line) return false;

Callers 1

fixMarkdownTablesFunction · 0.85

Calls 1

isSeparatorRowFunction · 0.85

Tested by

no test coverage detected