std.d.
parser
.
Parser
.currentIs
public bool currentIs(IdType type) const
Returns
true if the current token has the given type