Function Parser.currentIsOneOf

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

Returns

true if the current token is one of the given types