A Boolean value represents whether something is true or false. ColdFusion has two special constants--True and False--to represent these values. For example, the Boolean expression 1 IS 1 evaluates to True. The expression "Monkey" CONTAINS "Money" evaluates to False.
You can use Boolean constants directly in expressions, as in the following example:
<cfset UserHasBeenHere = True>
In Boolean expressions, True, nonzero numbers, and the string "Yes" are equivalent, and False, 0, and the string "No" are equivalent.
In Boolean expressions, True, nonzero numbers, and the strings "Yes", "1|", "True" are equivalent; and False, 0, and the strings "No", "0", and "False" are equivalent.
Boolean evaluation is not case-sensitive. For example, True, TRUE, and true are equivalent.