Sites
Kotlin Tutorials
Language basics
Flow & functions
Core topics
Packages & types
Object oriented Kotlin
Functional Kotlin
Standard library
Coroutines & JVM
Basics
Intermediate
OOP
Functional
Add new behaviour to existing types with Kotlin extension functions and properties.
Extension functions add new behaviour to existing types without modifying their source. A Kotlin example with source code and sample output.