Skip to content

Glossary: Kotlin Basics

break

Leaves a loop at once. `while (true)` loops use it to stop when the user is done.

Where the book teaches it

Related terms

continueloopwhile loop