Skip to content

Instantly share code, notes, and snippets.

@NamelessCoder
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NamelessCoder/2e7fa8179d913bf5a2ec to your computer and use it in GitHub Desktop.
Save NamelessCoder/2e7fa8179d913bf5a2ec to your computer and use it in GitHub Desktop.
<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