1
0
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:
Alex Altair
2021-10-31 04:58:33 -07:00
committed by GitHub
parent 3dd9becb0f
commit 9892df9ba9

View File

@@ -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