Skip to content

Glossary: Kotlin Beyond the Basics

associateBy

A collection function that builds a map from a key you choose to one item each, such as menu items by code.

Where the book teaches it

Related terms

groupBy