mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-25 04:54:07 +00:00
update rules
This commit is contained in:
parent
4c390fdd37
commit
d5522b2fef
8549 changed files with 11783 additions and 1888 deletions
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
title: Booleans
|
||||
description: Data type having a value of either true or false.
|
||||
---
|
||||
|
||||
The **boolean** data type, or `bool`, has a value of either `true` or `false`.
|
||||
|
||||
## Conditionals
|
||||
|
||||
If a value isn't `false` or `nil`, Luau evaluates it as `true` in [conditional statements](./control-structures.md#if-statements). Unlike many other languages, Luau considers both zero and the empty string as `true`.
|
||||
|
||||
## Operators
|
||||
|
||||
You can formulate complex conditions with [relational](./operators.md#relational) and [logical](./operators.md#logical) operators.
|
||||
Loading…
Add table
Add a link
Reference in a new issue