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.
10: Booleans
This post is licensed under CC BY 4.0 by the author.