(lines, x, y)
| 30 | function isVBorder(ch) { return V_BORDERS.has(ch); } |
| 31 | |
| 32 | function charAt(lines, x, y) { |
| 33 | if (y < 0 || y >= lines.length) return ''; |
| 34 | if (x < 0 || x >= lines[y].length) return ''; |
| 35 | return lines[y][x]; |
| 36 | } |
| 37 | |
| 38 | function verify(text) { |
| 39 | const lines = text.split('\n'); |