TypeInfo_Interface.isBaseOf

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.

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

Parameters

child TypeInfo_Interface

TypeInfo for some interface

Return Value

Type: bool

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

Meta