Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Lua
lua ternary
Ol' Dirty B.
Programming language:
Lua
2021-03-11 09:55:02
0
Q:
lua ternary
Dr Gary
Code:
Lua
2021-07-16 12:57:12
if a == nil then b else c end This is the equivalent to: a == nil and b or c
1
Related
table lua
table in lua
lua operators
lua local
lua syntax
lua table
lua code
lua toggle
lua function
what is a value lua
lua loops
lua setmetatable
lua arithmetic
For loop lua
lua calculator
lua value
lua for loop
lua infinite
lua functions
New to Communities?
Join the community