title: dotLiquid syntax for inline IF..ELSE to Assign variable a Value
body: <p>I want to assign my variable value based on following condition</p>
  
  <pre><code>var Result;
  If(A==2)
     Result = A;
   else if(A&gt;2)
      Result = A+2;
  </code></pre>
  
  <p>How can I write this in dotLiquid syntax for Logic Apps</p>