Is A a class. I know is(A == class) exists, but I feel awkward about it every time, so I made a wrapper
struct A {} enum B { C = 1 } assert(!isClass!A); assert(!isClass!B); assert(isClass!Object); assert(!isClass!int);
See Implementation
Is A a class. I know is(A == class) exists, but I feel awkward about it every time, so I made a wrapper