RGB.hasComponent

Test if a particular component is present.

struct RGB(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@safe pure nothrow @nogc
enum bool hasComponent(char c);

Meta