getThirdLevelValuesTo

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

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

Sources

Katlib source
Link copied to clipboard