letPair

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

Applies leftBlock on left part and rightBlock on right part.

Sources

Katlib source
Link copied to clipboard