Inside Coldfusion MX

"-->

IsStruct (variable)

Description

Checks to see if a variable is a structure and returns true if the variable is a ColdFusion structure.

Example

<cfscript> Products = StructNew(); StructInsert(Products , "ProductName", "Blizzard Blender"); StructInsert(Products , "ProductID", 1001); StructInsert(Products , "SKU", "555-6582"); </cfscript> <cfoutput> Is the Products a structure? #IsStruct(Products)# </cfoutput>

Категории