isImplicitly

Returns true iff an instance of type test is implicitly castable to target. * If the types describe classes or interfaces, this is an expensive operation.

  1. bool isImplicitly(const(ClassInfo) test, const(ClassInfo) target)
  2. bool isImplicitly(const(TypeInfo) test, const(TypeInfo) target)
    bool
    isImplicitly
    (
    const(TypeInfo) test
    ,)

Meta