Boolean

Boolean is a type inhabited by the values true and false. Variables of type boolean are used to represent truth. Control statements such as if, while and repeat until are parameterised by boolean expressions, based on which they decide on whether they will execute their bodies.