Function Parser.peekIsOneOf

final bool peekIsOneOf (
  scope ubyte[] types...
) pure nothrow @nogc @safe const;

Returns

true if there is a next token and its type is one of the given types.