Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/60895eba3d46a0909fbee2a7f435dd4e to your computer and use it in GitHub Desktop.

Select an option

Save trycf/60895eba3d46a0909fbee2a7f435dd4e to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
a = 1;
b = "1";
c = true;
d = "true";
if (a) dump("a == true => yes");
if (b) dump("b == true => yes");
if (c) dump("c == true => yes");
if (d) dump("d == true => yes");
if (a eq 1) dump("a == 1 => yes");
if (b eq 1) dump("b == 1 => yes");
if (c eq 1) dump("c == 1 => yes");
if (d eq 1) dump("d == 1 => yes");
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment