isArray

Determines whether T is an array type (dynamic or static, but not an associative one).

Members

Variables

isArray
enum bool isArray;
Undocumented in source.
isArray
enum bool isArray;
Undocumented in source.

Parameters

T

A type.

Return Value

$(D_KEYWORD true) if T is an array type, $(D_KEYWORD false) otherwise.

Examples

static assert(isArray!(bool[]));
static assert(isArray!(const bool[]));
static assert(isArray!(shared bool[]));
static assert(isArray!(bool[8]));
static assert(!isArray!bool);
static assert(!isArray!(bool[string]));

See Also

$(D_PSYMBOL isAssociativeArray).

Meta