A type.
$(D_KEYWORD true) if T is mutable, $(D_KEYWORD false) otherwise.
static struct S { void method() { static assert(isMutable!(typeof(this))); } void method() inout { static assert(!isMutable!(typeof(this))); } void immMethod() const { static assert(!isMutable!(typeof(this))); } void immMethod() immutable { static assert(!isMutable!(typeof(this))); } }
Determines whether T is mutable, i.e. has one of the following qualifiers or a combination of them: