Skip to content

Glossary: Kotlin Beyond the Basics

partition

Splits a list into the items that match a test and the rest.

Where the book teaches it

Related terms

groupBy