$(D_KEYWORD class), $(D_KEYWORD struct) or $(D_KEYWORD union) type.
$(D_KEYWORD true) if the argument is a nested type which internally stores a context pointer, $(D_KEYWORD false) otherwise.
static struct S { } static assert(!isNested!S); class C { void method() { } } static assert(isNested!C);
Determines whether T is a nested type, i.e. $(D_KEYWORD class), $(D_KEYWORD struct) or $(D_KEYWORD union), which internally stores a context pointer.