<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>ISCUSTOMFUNCTION</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">ISCUSTOMFUNCTION</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"></span>
<p>
JX^֐̖Oǂ𒲂ׂ܂B
</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">߂l</span>
<p>
<i>name</i> JX^֐ƂČĂяoꍇ trueAJX^֐ƂČĂяoȂꍇ falseB
</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">JeS</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">֐̃V^bNX</span><pre>IsCustomFunction(name)
</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">p[^</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">gp@</span>
<p>
IsCustomFunction ֐́AJX^֐ƂČĂяo邷ׂĂ̊֐ɑ΂ true Ԃ܂B̒ɂ́ACFScript  function 錾 cffunction ^OŒ`֐AColdFusion R|[lg\bh̊֐܂܂܂BColdFusion R|[lg\bh̏ꍇ́A܂R|[lg̃CX^X𐶐Kv܂B
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>: </strong></td>
    <td>`̕ϐɂOhɂ́Â̗悤ɁAIsCustomFunction ̑Oɏ IsDefined eXg}ĂB</td>
  </tr>
</table>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span><pre>&lt;h3&gt;IsCustomFunction ̗&lt;/h3&gt;
&lt;cfscript&gt;
function realUDF() {
   return 1;
}
&lt;/cfscript&gt;
&lt;cfset X = 1&gt;

&lt;!--- ݃`FbNpXȂ ---&gt;
&lt;cfif IsDefined(&quot;Foo&quot;) AND IsCustomFunction(Foo)&gt;
   Foo  UDF łB&lt;br&gt;
&lt;/cfif&gt;

&lt;!--- ݃`FbN̓pX邪 IsCustomFunction ̓pXȂ ---&gt;
&lt;cfif IsDefined(&quot;X&quot;) AND IsCustomFunction(X)&gt;
   X  UDF łB&lt;br&gt;
&lt;/cfif&gt;

&lt;!--- ̃eXgpX ---&gt;
&lt;cfif IsDefined(&quot;realUDF&quot;) AND IsCustomFunction(realUDF)&gt;
   realUDF ͊֐łB&lt;br&gt;
&lt;/cfif&gt;

&lt;!--- TestCFC.cfc Œ`Ă CFC gp ---&gt;
&lt;cfobject component=&quot;TestCFC&quot; name=&quot;myTestCFCobject&quot;&gt;
&lt;CFIF IsDefined(&quot;myTestCFCobject.testFunc&quot;) AND 
      IsCustomFunction(myTestCFCobject.testFunc)&gt;
   myTestCFCobject.testFunc ͊֐łB
&lt;/CFIF&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="NAME">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">NAME</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>JX^֐̖OłBpň͂܂ȂłB`ꂽϐ֐łȂꍇ̓G
[܂B


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

  </body>
</html>
