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

Function isEof

http/unstable_structured_fields.ts:522–524  ·  view source on GitHub ↗

Check if at end of input

(state: ParserState)

Source from the content-addressed store, hash-verified

520
521/** Check if at end of input */
522function isEof(state: ParserState): boolean {
523 return state.pos >= state.input.length;
524}
525
526/** Peek current character */
527function peek(state: ParserState): string {

Callers 12

skipOWSFunction · 0.85
skipSPFunction · 0.85
parseListFunction · 0.85
parseListInternalFunction · 0.85
parseDictionaryFunction · 0.85
parseDictionaryInternalFunction · 0.85
parseItemFunction · 0.85
parseInnerListFunction · 0.85
parseStringFunction · 0.85
parseTokenFunction · 0.85
parseDisplayStringFunction · 0.85
parseKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected