[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Why don't bools have (some) bitwise operators?
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Tue, 23 Feb 2021 14:02:30 -0300
Uh bools currently don't have xor so instead you have to write silly
local a = ...
local b = ...
if (a and not b) or (b and not a) then
And it'd look way cleaner with xor
if ... ~ ... then