std.d.
lexer
.isOperator
public bool isOperator(IdType type) nothrow pure @safe
Returns
true if the given ID type is for an operator.