isMerelyArray

True if a type is a non-string array; otherwise false.

For now also evaluates to true for static arrays.

enum isMerelyArray (
S
)

Parameters

S

Array type to introspect.

Examples

static assert(!isMerelyArray!string);
static assert(!isMerelyArray!dstring);
static assert(!isMerelyArray!wstring);
static assert(isMerelyArray!(char[]));
static assert(isMerelyArray!(dchar[]));
static assert(isMerelyArray!(wchar[]));
static assert(isMerelyArray!(int[5]));