isDynamicArray

Determines whether T is a dynamic array type.

enum bool isDynamicArray(T);

Return Value

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

Examples

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

See Also

$(D_PSYMBOL isArray).

Meta