endOfInput
Checks if there is nothing left to parse otherwise it fails.
Available since: v1.0.0-alpha.1
Type declaration
Example
In this example we are going to parser just the string "Hello"
followed by the end of input.
The result
of the parser above will be: