TypeInfo_Class.isBaseOf

Returns true if the class described by child derives from or is the class described by this TypeInfo_Class. Always returns false if the argument is null.

class TypeInfo_Class
final const @nogc nothrow pure @trusted
bool
isBaseOf
(
scope const TypeInfo_Class child
)

Parameters

child TypeInfo_Class

TypeInfo for some class

Return Value

Type: bool

true if the class described by child derives from or is the class described by this TypeInfo_Class.

Meta