Function Parser.peekAre

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

Returns

true if there are at least types.length tokens following the current one and they have types matching the corresponding elements of types.