typst-0.1.0.0: test/typ/compiler/while-01.typ
// Value of while loops.
// Ref: false
#test(while false {}, none)
#let i = 0
#test(type(while i < 1 [#(i += 1)]), "content")
// Value of while loops.
// Ref: false
#test(while false {}, none)
#let i = 0
#test(type(while i < 1 [#(i += 1)]), "content")