typst/tests/typ/control/let.typ

12 lines
161 B
Plaintext

// Test let bindings.
// Ref: false
---
// Automatically initialized with none.
#let x
#test(x, none)
// Manually initialized with one.
#let x = 1
#test(x, 1)