What are the rules for determine the "truth" of any value not already of the Boolean type? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are the rules for determine the "truth" of any value not already of the Boolean type?

Can anyone tell me the rules for determining the truth of any value not already of the Boolean type?

13th May 2018, 3:18 AM
Shaniyal Khan
Shaniyal Khan - avatar
1 Answer
+ 19
Other than 0 & boolean False rest are truth in most of languages
13th May 2018, 3:33 AM
🌛DT🌜
🌛DT🌜 - avatar