Operators

LaiRu includes arithmetic, comparison, boolean, membership, range, assignment, and conditional shorthand operators.

Target guide

Operators combine values in expressions. The conditional shorthand uses a question mark and vertical bar. The range operator is useful for short generated series.

Examples

Working pattern

1local(label) = (#score > 9) ? 'high' | 'normal'
Use this as a focused starting point and adapt it in context.

Related