New course! Every coder should learn Generative AI!
Try a free lesson0
What is a Boolean
1 Answer
+ 3
A boolean (bool for short) is a data type that stores only true or false outcomes.
If and else and else-if relies on the bool as if you didnt know already.