StructKeyExists (structure, " key") DescriptionChecks whether a key exists in a structure and returns true if the key exists. Example<cfscript> Products = StructNew(); StructInsert(Products, "ProductName", "Blizzard Blender"); StructInsert(Products, "ProductID", 1001); StructInsert(Products, "SKU", "555-6582"); </cfscript> <cfoutput> Does the key SKU exist? #StructKeyExists(SKU)# </cfoutput> |