Truthy
Pronunciation
- UK IPA: /ˈtɹuËθi/
Full definition of truthy
Adjective
truthy
- (obsolete) Faithful; true. 19th c.
- You … are afraid Theodore your sweetheart shouldn't prove truthy.
- (US, colloquial) Only superficially true; that is asserted or felt instinctively to be true, with no recourse to facts. from 21st c.
- 2011, Steven Pinker, The Better Angels of Our Nature, Penguin 2012, p. 595:Historians today point out that each of these ringing assertions was, at best, truthy.
- (computing, programming) Evaluating to true in a Boolean context.
- 2012, David Flanagan, JavaScript Pocket Reference (page 40)In JavaScript, any expression or statement that expects a boolean value will work with a truthy or falsy value, so the fact that
&&
does not always evaluate to
false
does not cause practical problems.Antonyms
- (computing) falsy