BaseType

Returns the array's base type

Returns the string type for any type that returns true for isSomeString!T

Members

Aliases

BaseType
alias BaseType = BaseType!(ForeachType!T)
Undocumented in source.
BaseType
alias BaseType = TypedefType!(Unqual!T)
Undocumented in source.

Examples

alias T = BaseType!(int[][]);
alias T2 = BaseType!(int[]);
alias T3 = BaseType!int;
alias T4 = BaseType!(string[])

static assert(is(T == int));
static assert(is(T2 == int));
static assert(is(T3 == int));
static assert(is(T4 == string));

Meta