Skip to content

Glossary: Kotlin Basics

Unit

The return type of a function that gives nothing useful back, such as one that only prints. `main` is one.

Where the book teaches it

Related terms

return valuefunction