IsDefined ("variable_name") DescriptionChecks to see if the variable name currently exists and returns true or false. Example<cfset exampleVariable = 1> <cfif IsDefined("exampleVariable")> We can use example variable because it is currently set. Otherwise we could not use it. <cfelse> The example variable has not been set yet. </cfif> |