TrueFalseFormat

True, for a non-zero value; False, otherwise.

TrueFalseFormat( value )

Returns: String

Argument Description
value
any, required

a value that can be casted to a boolean

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