Created
December 11, 2022 13:48
-
-
Save TonyLovesDevOps/acfb9de56b2d2e8afb28d1e6743edbab to your computer and use it in GitHub Desktop.
operators.dart typecast error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reproduces error in https://github.com/fireship-io/dart-course/blob/main/bin/operators.dart#L37-L39 | |
void main() { | |
var number = 23 as String; | |
number is String; // true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment