Skip to content

Glossary: Kotlin Basics

repeat

Also written: repeat()

A function that runs a lambda a set number of times, passing the count (from 0) as `it`.

Where the book teaches it

Related terms

lambdatrailing lambda