Boolean (class)

The boolean data type has two values (usually denoted  (1) and   (0)). Variables can be set as boolean in Lua using the  and   parameters. When testing for boolean values in conditions,  or if   is not needed, but rather only   when testing for   and   when testing for.