| title | Booleans |
|---|---|
| description | Booleans have a value of either false or true. |
The boolean data type, or bool, has a value of either false or true.
If a value isn't false or nil, Luau evaluates it as true in conditional statements. Unlike many other languages, Luau considers both zero and the empty string as true.
You can formulate complex conditions with relational and logical operators.