MCPcopy Create free account
hub / github.com/SethGammon/Citadel / charAt

Function charAt

scripts/verify.cjs:32–36  ·  view source on GitHub ↗
(lines, x, y)

Source from the content-addressed store, hash-verified

30function isVBorder(ch) { return V_BORDERS.has(ch); }
31
32function 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
38function verify(text) {
39 const lines = text.split('\n');

Callers 1

verifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected