isDefined

Evaluates a string value to determine whether the variable
named in it exists.

isDefined(variable_name) → returns boolean

Argument Reference for the isDefined function

variable_name

Required: Yes

Examples sample code invoking the isDefined function


Using IsDefined

Checking for the existence of a form variable

<cfif isDefined("form.submit")>
 ...
</cfif>

Fork me on GitHub