Skip to main content
  • New archived content: Talend MDM, Talend Data Catalog 8.0, and Talend 7.3 products reached their end of life in 2024. Their documentation was moved to the Talend Archive page and will no longer receive content updates.
Close announcements banner

Assignment expressions

Assignment expressions are used to assign a value to an identifier.

An assignment expression can be structured in two ways:
  • identifier = expression
  • let identifier = expression

The result is the same with both syntaxes. The let keyword can be used to make sure that the assignment expression cannot be interpreted as a comparison expression.

The value can be any of the supported data types, as well as an expression. For example:
PI = 3.1415f
let preferences.color = 'yellow'
stats.average = (data.a + data.b) / 2
LET message = concat(string.a, ' ', string.b)

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!