This Dart code is demonstrating the use of the is and is! operators to test if a variable is of a certain type. Here's what's happening in this code:
In summary, this code demonstrates how to use the is and is! operators in Dart to test if a variable is of a certain type or not.
void main(){ var a=25.0; print(a is int); print(a is! int); }To download raw file Click Here
true false
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions