Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<f:if condition="0" else="0 === FALSE" />
<f:if condition="1" then="1 === TRUE" />
<f:if condition="(0)" else="(0) === FALSE" />
<f:if condition="(1)" then="(1) === TRUE" />
<f:if condition="0 && 0" else="0 && 0 === FALSE" />
<f:if condition="0 || 0" else="0 || 0 === FALSE" />
<f:if condition="1 && 0" else="1 && 0 === FALSE" />
<f:if condition="0 && 1" else="0 && 1 === FALSE" />
<f:if condition="1 || 0" then="1 || 0 === TRUE" />
<f:if condition="0 || 1" then="0 || 1 === TRUE" />
<f:if condition="0 || 1 && 0" else="0 || 1 && 0 === FALSE" />
<f:if condition="0 || 1 && 1" then="0 || 1 && 1 === TRUE" />
<f:if condition="{varfalse}" else="$varfalse === FALSE" />
<f:if condition="{vartrue}" then="$vartrue === TRUE" />
<f:if condition="{varfalse} == {varfalse}" then="$varfalse == $varfalse === TRUE" />
<f:if condition="{varfalse} != {varfalse}" else="$varfalse != $varfalse === FALSE" />
<f:if condition="{vararray1} == {vararray1}" then="$vararray1 == $vararray1 === TRUE" />
<f:if condition="{vararray1} == {vararray2}" else="$vararray1 == $vararray2 === FALSE" />
<f:if condition="({vararray1} == {vararray1}) && {vartrue}" then="($vararray1 == $vararray1) && $vartrue === TRUE" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment