Detect whether T is a built-in boolean type.
static assert( isBoolean!bool); enum EB : bool { a = true } static assert( isBoolean!EB); static assert(!isBoolean!(SubTypeOf!bool));
See Implementation
Detect whether T is a built-in boolean type.