title: TypeScript - Perform multiple actions in a ternary condition
body: <p>Is it possible to execute multiple actions within a ternary condition? Something similar to the following (which does not work):</p>
  
  <pre><code>condition ? () =&gt; {
      // Perform multiple actions within this delegate function if the condition is true
  } : // Perform an action if the condition is false;
  </code></pre>