Skip to content

Glossary: Kotlin Basics

while loop

Also written: while

A loop that repeats as long as its condition is true. Something inside must make it false eventually, or it runs forever.

Where the book teaches it

Related terms

loopbreak