accept method
Tests if the input
can be successfully parsed.
For example, letter().plus().accept('abc')
returns true
, and
letter().plus().accept('123')
returns false
.
Implementation
bool accept(String input, {int start = 0}) => fastParseOn(input, start) >= 0;