Returns TRUE if variable is a structure.
See also Structure Functions.
IsStruct(variable )
Variable name.
<!---------------------------------------------------------------
This example illustrates the use of IsStruct and StructIsEmpty.
It assumes that you have created and assigned values to the fields of a
structure named EMPINFO within an include file. Sometimes when
you have included a file that contains variable declarations, you
may not know if a variable is a structure or a scalar value.
This code not only checks to see if EMPINFO is a structure, it
also checks to see if its fields have been assigned values.
----------------------------------------------------------------->
<CFIF IsStruct(EMPINFO)>
<CFIF StructIsEmpty(EMPINFO)>
<P>Error. EMPINFO is empty.</P>
<CFELSE>
<CFOUTPUT>
<P>EMPINFO contains #StructCount(tempStruct)# fields.
</CFOUTPUT>
</CFIF>
<CFELSE>
<P>Error. EMPINFO is not a structure.</P>
</CFIF>
...