Created
May 21, 2022 14:32
-
-
Save trycf/82f2c65f0eb36c325f63a6f4fff1a8af to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
public function fred() { | |
fred = true; | |
retVal = false; | |
// check for the existence of fred | |
if(structKeyExists(local, "fred")) | |
retval = true; | |
return retVal; | |
} | |
writeoutput(fred()); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment