parameterExists

Determines whether a parameter exists. ColdFusion does not evaluate the argument.

parameterExists(name) → returns boolean

The parameterExists function is DEPRECATED as of ColdFusion 6

parameterExists Argument Reference

parameter
Required

A syntactically valid parameter name.

Compatibility

ColdFusion:

DEPRECATED since version 6 This function is deprecated, but is still available for backward compatibility. Use StructKeyExists() or IsDefined() functions instead.

Examples sample code invoking the parameterExists function

<CFIF parameterExists(FORM.myString)> 
 <P>Using parameterExists, we have shown that the FORM field 'myString' now exists. 
 </CFIF> 

Fork me on GitHub