-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ^^ as a logical boolean XOR expression #530
Comments
&& and || are short-circuit because 'and' and 'or' 'stick' at false and true respectively. Removed Type-Defect label. |
We suggest using the mostly equivalent != Added WontFix label. |
oh! Thank you!!! that's what I need!!!! Trying to make sure both of my operands are not the same |
For the record, since Dart 2.1, the They can be used where you want both sides to be evaluated, and, especially for |
This issue was originally filed by domi...@google.com
The binary expressions include &, | and ^ but the logical boolean expressions only have && and ||. Adding ^^ for XOR will be consistent (and it will make my code shorter).
The text was updated successfully, but these errors were encountered: