TrueFalseFormat()
True, for a non-zero value; False, otherwise.
TrueFalseFormat( value=any );
Returns: String
Examples
<cfoutput>
False: #trueFalseFormat(false)#<br>
True: #trueFalseFormat(true)#<br>
0: #trueFalseFormat(0)#<br>
1: #trueFalseFormat(1)#<br>
No: #trueFalseFormat('No')#<br>
Yes: #trueFalseFormat('Yes')#
</cfoutput>
See also
- Booleans
- Formatting
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)