mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 04:20:39 +02:00
Add boolean and and or (#4259)
This commit is contained in:
@@ -41,6 +41,8 @@ False
|
|||||||
-- Boolean operations
|
-- Boolean operations
|
||||||
not True -- False
|
not True -- False
|
||||||
not False -- True
|
not False -- True
|
||||||
|
True && False -- False
|
||||||
|
True || False -- True
|
||||||
1 == 1 -- True
|
1 == 1 -- True
|
||||||
1 /= 1 -- False
|
1 /= 1 -- False
|
||||||
1 < 10 -- True
|
1 < 10 -- True
|
||||||
|
Reference in New Issue
Block a user