Parser.peekIs

bool peekIs(IdType t) const pure nothrow @safe @nogc

Returns

true if there is a next token and that token has the type t.