Expressions - Common Patterns

State Access

[email protected]         # Global app state
[email protected]               # Screen state
[email protected]   # Component value
[email protected]              # Current list item
[email protected]          # Navigation parameters
[email protected][0].name  # Datasource data
[email protected][@ctx.user.id]   # Dynamic bracket notation

Safe Defaults

[email protected] ?: @ctx.user.email ?: 'Unknown'  # Elvis - falsy fallback
[email protected] ?? 'N/A'                      # Null coalesce
[email protected] ~> $type = 'number'               # Type guard
[email protected] ? 'valid' : 'invalid'

Actions Context

[email protected]    # Action status
[email protected]     # Action result
[email protected]        # Action value
[email protected]  # Action outputs

Function Context (REST/SQL/SOAP)

Functions

Built-in Functions

Data Filtering

Filtering & Conditionals

Validation

Last updated

Was this helpful?