isAssociativeArray

Determines whether T is an associative array type.

Members

Variables

isAssociativeArray
enum bool isAssociativeArray;
Undocumented in source.
isAssociativeArray
enum bool isAssociativeArray;
Undocumented in source.

Parameters

T

A type.

Return Value

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

Examples

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

See Also

$(D_PSYMBOL isArray).

Meta