Truthiness
Pronunciation: /ˈtruːˌθiːnəs/
Truthiness (noun)
- In programming, the way a value is judged as true or false when used in a condition.
- A situation where something seems correct because it fits what people expect, even if it is not actually true.
Examples
- The truthiness of the value decides the branch.
- A nonempty string has truthiness in many languages.