Variables
Value variables — reusable values referenced with @.
Defining and using
~ @active: T
~ $schema: { name: string, isActive: bool }
---
~ John, @active
~ Jane, @activeIn schema constraints
~ @r: red
~ @g: green
~ @b: blue
~ $schema: { name: string, color: { string, choices: [@r, @g, @b] } }
---
~ John, redUse cases
Reduce size and repetition
Keep sensitive values together
See Also
Last updated
Was this helpful?
