Skip to main content
Version: Next

Variables

Access variables

Access the value of a variable by its variable name.

a + b

If the value of the variable is a context, a context entry can be accessed by its key.

a.b
tip

Use a null-check if the variable can be null or is optional.

a != null and a.b > 10

Escape variable names

The name of a variable can be any alphanumeric string including _ (an underscore). For a combination of words, it is recommended to use camelCase or the snake_case format.

If a variable name or context key contains any special character (e.g. whitespace, dash, etc.,) the name can be placed in single backticks (e.g. `foo bar`).

`first name`

`tracking-id`

order.`total price`