Boolean (class)

From Moondust Wiki
Jump to navigation Jump to search

Boolean - a simple data type which has two possible values. There are usually denoted as true (1) and false (0).

Variables can be set as boolean in Lua using the false and true key-words.

Official Lua tutorial

Learn more about boolean type here: http://lua-users.org/wiki/LuaTypesTutorial in the "Boolean" section.