The OpenD Programming Language

isHSx

Detect whether T is a member of the HSx color family.

@safe pure nothrow @nogc
enum isHSx (
T
)

Examples

static assert(isHSx!(HSV!ushort) == true);
static assert(isHSx!RGB8 == false);
static assert(isHSx!string == false);

Meta