Name
IsStruct
Synopsis
IsStruct(variable
)
Returns true
if the specified variable is a
ColdFusion structure or false
if it
isn’t. Examples:
<cfset Employee=StructNew( )> <cfset Employee.Name="Pere Money"> <cfset Employee.Title="President"> <cfset Employee.Department="Executive Management"> <cfset Employee.Email="pmoney@example.com"> <cfset Employee.PhoneExt="1234"> Is Employee a structure? <cfoutput>#IsStruct(Employee)#</cfoutput>
Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.