local t = {} local expression = if #t > 0 then t else nil
if-then-else works fine for this
if-then-else