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