ElementTypeOf

Is ElementType of type of a.

alias ElementTypeOf(alias a) = ElementType!(typeof(a))

Examples

int[] var;
static assert(is(ElementTypeOf!var == int));

Meta