getSecondLevelValuesTo

fun <K1, K2, V, M : MutableCollection<V>> Map<K1, Map<K2, V>>.getSecondLevelValuesTo(destination: M): M

Collects all the values from the bottom level into the given collection M.

Sources

Katlib source
Link copied to clipboard