Validates that field contains only bits from E.
Some $(D_KEYWORD enum).
Bit field.
$(D_KEYWORD true) if field is valid, $(D_KEYWORD false) otherwise.
enum E { one, two, three, } assert(containsBitFlags(E.one | E.two)); assert(!containsBitFlags(cast(E) 0x8));
See Implementation
Validates that field contains only bits from E.