ternary if lua code example Example: lua ternary if a == nil then b else c end This is the equivalent to: a == nil and b or c