MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / normalizeRow

Function normalizeRow

packages/app-core/src/lib/markdown-table.ts:160–164  ·  view source on GitHub ↗
(cells: string[], colCount: number)

Source from the content-addressed store, hash-verified

158}
159
160function normalizeRow(cells: string[], colCount: number): string[] {
161 const out = cells.slice(0, colCount)
162 while (out.length < colCount) out.push('')
163 return out
164}
165
166// ---------------------------------------------------------------------------
167// Serialization (padded, Obsidian/prettier-ish)

Callers 1

parseTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected