What are the rules for determine the "truth" of any value not already of the Boolean type? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 19
Other than 0 & boolean False rest are truth in most of languages
13th May 2018, 3:33 AM
🌛DT🌜
🌛DT🌜 - avatar