TypeInfo_Interface.isBaseOf

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.

  1. bool isBaseOf(TypeInfo_Class child)
    class TypeInfo_Interface
    final const @nogc nothrow pure @trusted
    bool
    isBaseOf
    (
    scope const TypeInfo_Class child
    )
  2. bool isBaseOf(TypeInfo_Interface child)

Parameters

child TypeInfo_Class

TypeInfo for some class

Return Value

Type: bool

true if the class described by child derives from the interface described by this TypeInfo_Interface.

Meta