isVector

True if T is some kind of Vector

enum isVector (
T
)

Examples

static assert(isVector!vec2f);
static assert(isVector!vec3d);
static assert(isVector!(vec4!real));
static assert(!isVector!float);

Meta