Parser.currentIsOneOf

bool currentIsOneOf(IdType[] types...) const pure nothrow @safe @nogc

Returns

true if the current token is one of the given types