title: is there a shortened "if then" syntax available in Lua?
body: <p>Is there a shorted "if / then" syntax available in Lua (I'm using Corona SDK specifically), like in some other languages... In particular along the lines of:</p>
  
  <pre><code> res = (a == b) ? "It worked" : "It did NOT work"
  </code></pre>