check Token
Check if the next token is one of the given types.
Return
true
if the next token is one of the given types. Returns false
if no more tokens are available.
Parameters
choices
token IDs to match with
Throws
Thrown in case of malformed input.