typst/tests/lang/typ/let-value.typ
2021-02-17 21:30:20 +01:00

12 lines
169 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)