typst/tests/lang/typ/let-value.typ

12 lines
169 B
Plaintext

// 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)