GAP Manual: 44. Booleans

The two boolean values are true and false. They stand for the logical values of the same name. They appear mainly as values of the conditions in if-statements and while-loops.

This chapter contains sections describing the operations that are available for the boolean values (see Comparisons of Booleans, Operations for Booleans).

Further this chapter contains a section about the function IsBool (see IsBool). Note that it is a convention that the name of a function that tests a property, and returns true and false according to the outcome, starts with Is, as in IsBool.

This chapter contains the following sections:


[next] [prev] [up]