mapOnSecond

inline fun <T2, R> Either<*, T2>.mapOnSecond(block: (T2) -> R): R?(source)

Return

Result of block if this is EitherSecond