isA<U> method

bool isA<U>()

Implementation

bool isA<U>() => T.base == U;