true — the Boolean true literal

Syntax and values

Behavior and details

The lowercase keyword true denotes the Boolean true value. It is not Text “true” or Number 1. Conditions require Booleans, and display conversion prints the canonical text true in either source locale. It is reserved and cannot be a user identifier.

Example

# language: en
let ready = true
if ready:
    say text(ready)

Syntax and values · Built-ins · Programming guides