FANDOM


BooleanEdit

EssentialsEdit

The boolean value is a value that is expressed as true or false.

SamplesEdit

Sample
The following is a sample usage for a boolean.

Source:

local boolean = true
if boolean then
       print('Boolean is true.')
else
       print('Boolean is false.')
end
Output:

Boolean is true


ExtraEdit

The boolean value is much more important than it appears. The Relational Operators and Logical Operators simplify to a boolean value. This means that booleans control the flow the Conditionals, and most Loops.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.