Type Boolean

Boolean is the simplest of all types.

Data of this type can only have one of two different values: true or false.

Data of the Boolean type originates as a result of tests that compare one thing with another:

You will learn more about data of type Boolean in future lessons that address selection and loop structures along with relational operators.