MCPcopy Create free account
hub / github.com/denoland/std / eof

Method eof

toml/_parser.ts:118–120  ·  view source on GitHub ↗

* Position reached EOF or not

()

Source from the content-addressed store, hash-verified

116 * Position reached EOF or not
117 */
118 eof() {
119 return this.#position >= this.#source.length;
120 }
121
122 isCurrentCharEOL() {
123 return this.char() === "\n" || this.startsWith("\r\n");

Callers 12

skipWhitespacesMethod · 0.95
nextUntilCharMethod · 0.95
parserFactoryFunction · 0.95
fnFunction · 0.95
joinFunction · 0.45
join1Function · 0.45
repeatFunction · 0.45
basicStringFunction · 0.45
literalStringFunction · 0.45
multilineBasicStringFunction · 0.45
multilineLiteralStringFunction · 0.45
arrayValueFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected