combine

inline fun <B, C> combine(other: Try<B>, function: (A, B) -> C): Try<C>

Maps the given function to the values from this Success and other, or returns this if this is a Failure or other if other is a Failure.