6 lines
243 B
Text
6 lines
243 B
Text
switch[and] x nxor, y nxor {
|
|
case true: ... # both truthy
|
|
case true, false: ... # first truthy, second not truthy
|
|
case false, true: ... # first not truthy, second truthy
|
|
default: ... # both not truthy
|
|
}
|