Can't do bit-wise operations on Booleans. #27396
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
library-core
Take the following code:
The above quite logical code would throw:
As a result to be able to xor booleans together I have to do the following:
This seems seriously in error considering in JavaScript, Java, C# etc I can directly do bit-wise operations against a Boolean value.
Or as someone else pointed out
(val1 != val2)
The text was updated successfully, but these errors were encountered: