std.d.
lexer
.isProtection
public bool isProtection(IdType type) pure nothrow @safe
Returns
true if the given ID type is for a protection attribute.