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.

All constants