The OpenD Programming Language

isxyY

Detect whether T is an xyY color.

@safe pure nothrow @nogc
enum isxyY (
T
)

Examples

static assert(isxyY!(xyY!float) == true);
static assert(isxyY!(XYZ!double) == false);
static assert(isxyY!int == false);

Meta