map

inline fun <L, R, R2> Either<L, R>.map(fRight: (R) -> R2): Either<L, R2>

Applies given function if this is Either.Right.

Important: This is a Public Preview API. It may be changed or removed at any time.