true

Try it yourself:

See also:

True: the Boolean truth value

true is the Boolean constant representing a satisfied logical condition. It is used in comparisons, conditional expressions, and filters.

Use

Comparisons such as equal return true or false. Combine true with and, or, and not to form conditions.

Caveats

True is logical, not the numeric value one, even if a context performs coercion. Use false for the opposite constant and make Boolean tests explicit in data workflows.

Use True in a calculation

Enter true on a calculator line to see its built-in value, or place the name inside a longer expression. Keep any displayed unit attached when converting or combining physical quantities, and check that every other value uses a compatible dimension.

The example above is editable, so you can replace surrounding values and test the constant in your own formula. Browse all constants to compare related values and notation.

All constants