Daniel
0
Q:

lua ternary

if a == nil then
    b
else
    c
end

This is the equivalent to:

a == nil and b or c
1

New to Communities?

Join the community