Boolean values are truth values that can be either True or False. To get a boolean value, you can use the keywords True and False. More often, you will create boolean values using comparisons or logical operations.

Whenever a boolean value is required, you can also use

  • a number. Zero (anything less than 10^-6 in magnitude) is treated as False, other values are True.
  • a string. The empty string "" is treated as False, other values are True.

Whenever a number is required, you can also use a boolean value. True converts into 1, False converts into 0.

Commands and Functions taking Bool as Parameter

Functions returning Bool

Properties of type Bool

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.