Skip to content

Glossary: Kotlin Basics

list

Also written: lists, listOf, mutableListOf, mutable list

A collection holding values in order, read by index. `listOf` makes a read-only list, and `mutableListOf` makes one you can add to and remove from.

Where the book teaches it

Related terms

setmapindex