until function

suggest change

To create a range which does not include its end element, you can use the until function:

for (i in 1 until 10) { // i in [1, 10), 10 is excluded
	println(i)
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents