<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>ISBOOLEAN</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">ISBOOLEAN</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 can be converted to Boolean
</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 parameter can be converted to Boolean; False, otherwise.
</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>IsBoolean(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>
IsNumeric, IsValid, YesNoFormat
</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">Example</span><pre>&lt;h3&gt;IsBoolean Example&lt;/h3&gt;

&lt;cfif IsDefined(&quot;FORM.theTestValue&quot;)&gt;
   &lt;cfif IsBoolean(FORM.theTestValue)&gt;
      &lt;h3&gt;The expression &lt;cfoutput&gt;#DE(FORM.theTestValue)#&lt;/cfoutput&gt; is 
Boolean&lt;/h3&gt;
   &lt;cfelse&gt;
      &lt;h3&gt;The expression &lt;cfoutput&gt;#DE(FORM.theTestValue)#&lt;/cfoutput&gt; is not 
Boolean&lt;/h3&gt;
   &lt;/cfif&gt;
&lt;/cfif&gt;

&lt;form action = &quot;isBoolean.cfm&quot;&gt;
&lt;p&gt;Enter an expression, and discover whether it can be evaluated to a
Boolean value.

&lt;input type = &quot;Text&quot; name = &quot;TheTestValue&quot; value = &quot;1&quot;&gt;
&lt;input type = &quot;Submit&quot; value = &quot;Is it Boolean?&quot; name = &quot;&quot;&gt;
&lt;/form&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>Number or string</p>

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

  </body>
</html>
