Scripting reference · Nerdamer Language
xor
Returns 1 when an odd number of arguments are true.
Every argument is evaluated.
Scripting
xor(a, b, ...)
Write it in a script: nerdamer('xor(1,1,1)'), or in the Playground.
Parameters
a, b, ...- Two or more conditions or values.
Examples
Good to know
- A value is true when it isn't zero. An unknown symbol counts as true; a comparison that can't be decided, such as
x>0for an unknownx, counts as false.
