Extend your language: Difference between revisions
→{{header|langur}}
m (→{{header|Wren}}: Changed to Wren S/H) |
Langurmonkey (talk | contribs) |
||
Line 2,007:
=={{header|langur}}==
Langur doesn't
We could use the nxor (logical equivalence) operator to test truthiness.
<syntaxhighlight lang="langur">
case true: ... # both true
case true, false: ... # first true, second false
Line 2,020:
To test directly for Boolean values (not truthiness), we could use the default == comparison.
<syntaxhighlight lang="langur">
case true: ... # both true
case true, false: ... # first true, second false
|