Parser.peekNIs

bool peekNIs(IdType t, size_t offset) const pure nothrow @safe @nogc

Returns

true if the token offset tokens ahead exists and is of type

t.