Enum member isComponent

Detect whether T is the Component class or inherits from Component.

enum isComponent(T) = isRawOrInherited!T;