To store a boolean value or an integer to the item set, the value needs to be converted to a string.
要将布尔值或整数存储到项目集,需要将该值转换为字符串。
The arguments above specify an expression that yields a boolean value and a block of code that returns nothing (Unit), which is exactly what while expects.