mapLeft

inline fun <L, R, L2> Either<L, R>.mapLeft(fLeft: (L) -> L2): Either<L2, R>

Applies given function if this is Either.Left.

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