isFinalClass

Determines whether T is a final class.

enum bool isFinalClass(T);

Return Value

$(D_KEYWORD true) if T is a final class, $(D_KEYWORD false) otherwise.

Examples

final class A
{
}
class B
{
}

static assert(isFinalClass!A);
static assert(!isFinalClass!B);

See Also

$(D_PSYMBOL isFinalFunction).

Meta