Function Parser.peekNIs

final bool peekNIs (
  ubyte t,
  ulong offset
) pure nothrow @nogc @safe const;

Returns

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