(line: string)
| 155 | } |
| 156 | |
| 157 | function isSeparatorRow(line: string): boolean { |
| 158 | if (!line) return false; |
| 159 | return /^\|[\s\-:|]+\|$/.test(line.trim()); |
| 160 | } |
| 161 | |
| 162 | function countColumns(row: string): number { |
| 163 | const cells = row.split('|').slice(1, -1); // remove first/last empty from split |
no outgoing calls
no test coverage detected