mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 15:51:41 +03:00
Add boolean and and or (#4259)
This commit is contained in:
parent
3dd9becb0f
commit
9892df9ba9
@ -41,6 +41,8 @@ False
|
||||
-- Boolean operations
|
||||
not True -- False
|
||||
not False -- True
|
||||
True && False -- False
|
||||
True || False -- True
|
||||
1 == 1 -- True
|
||||
1 /= 1 -- False
|
||||
1 < 10 -- True
|
||||
|
Loading…
Reference in New Issue
Block a user