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