isMutableArrayOfImmutables

Evaluates whether or not a passed array type is a mutable array of immutable elements, such as a string.

enum isMutableArrayOfImmutables (
Array : Element[]
Element
)

Parameters

Array

Array to inspect.

Examples

static assert(isMutableArrayOfImmutables!string);
static assert(isMutableArrayOfImmutables!wstring);
static assert(isMutableArrayOfImmutables!dstring);
static assert(!isMutableArrayOfImmutables!(immutable(string)));

static assert(isMutableArrayOfImmutables!(immutable(int)[]));
static assert(!isMutableArrayOfImmutables!(immutable(int[])));

Meta