Boolean is a special type of variable that can only have two values: True or False. (Pay attention to the capital letters!)
It is used to represent truth values in programming. And even if it doesn't seem that impressive and pretty simple, it is actually one of the most important types in programming!
↗️
Loading editor...
↶
↷
Only TRUE or FALSE?
Booleans are True/False values. But they can also be understood as 1/0, ON/OFF, YES/NO, PRESENCE/ABSENCE, etc.