The standard library in the kotlin.collections package offers numerous extension functions that extend the collections types. Most of them extend the base Iterable interface, so they can be used with any collection type.Â
The library is too big to cover every function, so we’ll see here the most useful ones. We can group them based on their operation.