What does “truthy” mean?
-
adjective
Having a value that evaluates to true in a boolean test
In JavaScript, non-empty strings are truthy.
-
adjective
Appearing true or believable; seeming to be true
Her story sounded truthy to the jury.
Often used as
- the value is truthy in a condition
- a truthy value lets the if run
- this returns a truthy result
- truthy values pass the check
- check for truthy or falsy
Related words and nuances
- believable
- genuine
- valid
- credible
- authentic
- true