Truthy

Pronunciation: /tɹʌθaɪ/

Truthy (adj)

  1. In programming, describes a value that makes a condition act as if it is true.
  2. Used for values that are not the literal true value, but still pass a truth check.

Truthy (adjective)

Examples

  • The value is truthy, so the condition passes.
  • If the value is truthy, the program runs the block.