Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/enowdev/enowX-Coder
/ countColumns
Function
countColumns
src/lib/utils.ts:162–165 ·
view source on GitHub ↗
(row: string)
Source
from the content-addressed store, hash-verified
160
}
161
162
function
countColumns(row: string): number {
163
const
cells = row.split(
'|'
).slice(1, -1);
// remove first/last empty from split
164
return
Math.max(cells.length, 1);
165
}
Callers
1
fixMarkdownTables
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected