<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>ISOBJECT</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">ISOBJECT</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Determines whether a value is an object.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Returns</span>
<p>
True, if the value represents a ColdFusion object. False if the value is any other type of data, such as an integer, string, date, or struct.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Decision functions
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Function syntax</span><pre>IsObject(value)
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
IsDate, IsNumeric, IsNumericDate, IsQuery, IsSimpleValue, IsStruct, IsWDDX, IsXmlDoc, IsXmlElem, IsXmlRoot
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">History</span>
<p>
ColdFusion&#160;MX: Added this function.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Parameters</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Usage</span>
<p>
This function returns False for query and XML objects.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Example</span><pre>&lt;!--- to use this example, create a color.cfc component as follows: ---&gt;
&lt;!--- 
&lt;cfcomponent&gt;
    &lt;cffunction name=&quot;myFunction&quot; access=&quot;public&quot; returntype=&quot;string&quot;&gt;
        &lt;!--- Create a structure object ---&gt;
      &lt;cfset myColor = &quot;Blue&quot;&gt;
      &lt;cfreturn myColor&gt;
    &lt;/cffunction&gt;
&lt;/cfcomponent&gt;
---&gt;

&lt;!--- Create an instance of the color.cfc component ---&gt;
&lt;cfobject name=&quot;getColor&quot; component=&quot;color&quot;&gt;

&lt;cfif IsObject(getColor)&gt;
   &lt;!--- Invoke the myFunction method ---&gt;
   &lt;cfinvoke
      component=&quot;#getColor#&quot;
      method=&quot;myFunction&quot;
      returnVariable=&quot;myColor&quot;&gt;
   &lt;/cfinvoke&gt;

   &lt;cfif IsDefined(&quot;myColor&quot;)&gt;
      &lt;!--- Output the returned variable ---&gt;
      The value of myColor = &lt;cfoutput&gt;#myColor#&lt;/cfoutput&gt;&lt;p&gt;
   &lt;/cfif&gt;
&lt;/cfif&gt;

</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="VALUE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALUE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>


<p>A value, typically the name of a variable.</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
