MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / peekChar

Method peekChar

src/common/json5.ts:312–314  ·  view source on GitHub ↗
(offset: number)

Source from the content-addressed store, hash-verified

310 }
311
312 peekChar(offset: number): string {
313 return this.text[this.index + offset];
314 }
315
316 isAtEnd(): boolean {
317 return this.index >= this.text.length;

Callers 1

skipWhitespaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected