Inside Coldfusion MX
IsBoolean (value) Description
Checks to see if a value can be converted to a Boolean and then returns true or false. Example
<cfoutput> 0: #IsBoolean(0)# 1: #IsBoolean(1)# 567: #IsBoolean(567)# xyz: #IsBoolean('xyz')# yes: #IsBoolean('yes')# no: #IsBoolean('no')# </cfoutput> |