Parser.currentIs

bool currentIs(IdType type) const pure nothrow @safe @nogc

Returns

true if the current token has the given type