isAssignableTo method Null safety
- TypeMirror other
Checks the assignability relationship, denoted by
<=> in the language
This is the type relationship tested on assignment in checked mode.
Note that this method can only be invoked successfully if all the
supertypes of the receiver and
other are covered by the reflector,
TypeRelationsCapability has been requested.
assignAbleTo requires a
TypeRelationsCapability, and it requires that all the types visited in
order to determine the result must be covered.
bool isAssignableTo(TypeMirror other);