What are all the values that ColdFusion considers "falsy" and "truthy"? -


I am looking to compile a complete list of values ​​that understand ColdFusion FICCI and authenticity. The people I know are those:

  // false value false "false" 0 "no" // True truth is true "truth"! = 0 "yes"   

Is there anything I remember here?

There is a clear little article on it

But of course it's officially On

In Boolean Expressions, true, noozo numbers, and strings "yes" ????, one, 1, one, is true? ??? Are equal; And false, 0, and strings' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' Are equal.

The Boolean Assessment Case is not sensitive. For example, true, true and true are equal.

Then, using your own vocabulary:

  // false value false "wrong" 0 "no" // truth truth true "truth"! = 0 "yes" "1"    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -