Returns a parser that succeeds if there is no more input.
Optional
Optionally, the result the parser will yield. Defaults to undefined.
Returns a parser that succeeds if there is no more input.