TrueFalseFormat

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

Returns: string

Usage

TrueFalseFormat( value )

Arguments

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