Skip to content

Glossary: Kotlin Basics

pair

Also written: to

A key linked to a value, made with `to`, as in `"lat" to 4.75`. `mapOf` takes pairs.

Where the book teaches it

Related terms

mapkey / value