The OpenD Programming Language

isXYZ

Detect whether T is an XYZ color.

@safe pure nothrow @nogc
enum isXYZ (
T
)

Examples

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

Meta