unions

fun <K, V> Iterable<Map<K, V>>.unions(): Map<K, V>

Returns the union of all given maps.


fun <T> Iterable<Set<T>>.unions(): Set<T>

Returns the union of all given sets.