typst/tests/lang/typ/let-value.typ
2021-01-31 22:43:11 +01:00

12 lines
171 B
Typst

// Test value of let binding.
// Ref: false
---
// Automatically initialized with none.
#let x
#[test x, none]
// Manually initialized with one.
#let x = 1
#[test x, 1]