W3cubDocs

/Dart 2

isAssignableTo method

bool isAssignableTo (TypeMirror other)

Checks the assignability relationship, denoted by <=> in the language specification.

This is the type relationship tested on assignment in checked mode.

Implementation

bool isAssignableTo(TypeMirror other);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-mirrors/TypeMirror/isAssignableTo.html