mapPair

inline fun <T, V, NT, NV> Pair<Iterable<T>, Iterable<V>>.mapPair(leftBlock: (T) -> NT, rightBlock: (V) -> NV): Pair<Iterable<NT>, Iterable<NV>>

Applies leftBlock on left part and rightBlock on right part.

Sources

Katlib source
Link copied to clipboard