onSecond

inline fun <T1, T2, E : Either<T1, T2>> E.onSecond(block: (T2) -> Unit): E(source)

Will call block in case when this is EitherSecond