Skip to main content
truthiness

truthiness

9.1
The way a value is treated as true or false in a computer program
  • noun
  • /ˈtruːθɪnəs/
  • Specialized
translation icon : veracidad
  • When evaluating different expressions in code, programmers often consider truthiness to simplify logical operations.

Examples

  • The truthiness of values like non-zero numbers and non-empty strings means they are treated as true in conditional statements.

  • As was pointed out, truthiness already covers the ground exceptionally well.

    Blog text (3)
  • 1) Monarchy rule by one (with a body of laws, an assembly, and a council but no vote): Runs on the honor of the family of the monarchy, falls on honesty—truth, not the current received truth or truthiness.

    Blog text (16)
  • In a programming context, the concept of truthiness helps determine which values are interpreted as true or false.

Antonyms

6 7.9

A statement or idea that is not true

Surface Forms

truthiness singular
truthinesses plural

Morphology

truthiness = truthy (semi-transparent) = truth + y + ness

The word is transparently based on the adjective 'truthy', but the computing sense is specialized and not fully predictable from ordinary 'truth' alone.

Etymology

Truthiness comes from truth plus the suffix -iness, meaning 'the quality of being true'. In computing it describes whether a value is treated as true or false in a condition, so it tells you if something will count as 'true' in code.