splitPairCollection

fun <T, V> Iterable<Pair<T, V>>.splitPairCollection(): Pair<List<T>, List<V>>

Takes Iterable with pairs and returns pair of collections filled with values in each part of pair.

Sources

Katlib source
Link copied to clipboard