isColorValue

Template for checking whether a type is a valid color value. Color values are what daffodil stores internally.

Any floating point type, unsigned integreal or valid :d:func:isCustomColorValue is a valid color value.

template isColorValue (
V
) {}

Members

Manifest constants

isColorValue
enum isColorValue;
Undocumented in source.

Examples

assert(isColorValue!ubyte);
assert(isColorValue!uint);
assert(isColorValue!ulong);
assert(!isColorValue!int);
assert(isColorValue!float);
assert(isColorValue!real);

Meta