Go to the first, previous, next, last section, table of contents.


The boolean type

The boolean type is used for truthness values. It is extensively used in conditional constructs (see section Conditionals and loops). The default value for the boolean type is falseness. The instance tom.All defines the following constants, each with the boolean type.

const TRUE = !0;
const FALSE = !1;
const YES = TRUE;
const NO = FALSE;


Go to the first, previous, next, last section, table of contents.