Home 10: Booleans
Content
Cancel

10: Booleans

If something can be either true or false we call this type Booleans. Sometimes they are also called bools in short. At a first look that doesn’t sound particular useful, but we will see that it actually is an often used data type. For example when we compare conditions they can either be true or false. So the result of a comparison will always be a boolean.

This post is licensed under CC BY 4.0 by the author.