TypeInfo_Interface.isBaseOf

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

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

Parameters

childTypeInfo for some class

Returns

true if the class described by child derives from the

interface described by this TypeInfo_Interface.

bool isBaseOf(scope const TypeInfo_Interface child) const @nogc nothrow pure @trusted

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

Parameters

childTypeInfo for some interface

Returns

true if the interface described by child derives from or is

the interface described by this TypeInfo_Interface.