Verifying Structure Member Existence

To test if a structure member exists, the IsDefined() function may be used to check for structure.member. However, if the member name contains special or invalid characters (for example, spaces) then IsDefined() cannot be used, and you should use the StructKeyExists() function instead. (Applies to: ColdFusion 4 or later)

Leave a Reply