isStaticArray

Determines whether T is a static array type.

Members

Variables

isStaticArray
enum bool isStaticArray;
Undocumented in source.
isStaticArray
enum bool isStaticArray;
Undocumented in source.

Parameters

T

A type.

Return Value

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

Examples

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

See Also

$(D_PSYMBOL isArray).

Meta