boolean, true, false
true or false.
In logical expressions, nil evaluates to false.
Lua does not have a ternary operator. There are alternatives that (almost) produce the same functionality as explained here.
© 2020-2023 Solar2D All Rights Reserved.
Help us help you! If you notice a problem with this page, please report it.
Report an Issue