<!--- This example shows the use of IsBoolean --->

<HTML>

<HEAD>
<TITLE>
IsBoolean Example
</TITLE>
</HEAD>

<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">

<H3>IsBoolean Example</H3>

<CFIF IsDefined("form.theTestValue")>

	<CFIF IsBoolean(form.theTestValue)>
	<H3>The expression <CFOUTPUT>#DE(form.theTestValue)#</CFOUTPUT> is Boolean</H3>
	<CFELSE>
	<H3>The expression <CFOUTPUT>#DE(form.theTestValue)#</CFOUTPUT> is not Boolean</H3>

	</CFIF>


</CFIF>

<FORM ACTION="isboolean.cfm" METHOD="POST">
<P>Enter an expression, and discover if
it can be evaluated to a Boolean value.

<INPUT TYPE="Text" NAME="TheTestValue" VALUE="1">

<INPUT TYPE="Submit" VALUE="Is it Boolean?" NAME="">


</FORM>



</BODY>

</HTML>       
