Skip to content

Glossary: Kotlin Basics

destructuring

Also written: destructuring declaration

Unpacking an object's properties into separate variables in constructor order, such as `val (code, name, price) = latte`.

Where the book teaches it

Related terms

data class