joinTo

inline fun <K, V1, V2, VR, M : MutableMap<K, VR>> Map<K, V1>.joinTo(    destination: M,     other: Map<K, V2>,     join: (V1?, V2?) -> VR): M

Joins two maps together using the given join function into the given destination.

Sources

Link copied to clipboard