Skip to content

Glossary: Kotlin Basics

function

Also written: functions, function call, fun

A named block of instructions started with `fun`. A function call runs it, with any needed values inside the parentheses.

Where the book teaches it

Related terms

parameterargumentreturn value