dart / 1 / dart-mirrors / typemirror / isassignableto.html

isAssignableTo abstract 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.

Source

bool isAssignableTo(TypeMirror other);

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