//arrow-core/arrow.core/Validated/mapLeft

mapLeft

common inline fun <EE> mapLeft(f: (E) -> EE): Validated<EE, A>

Apply a function to an Invalid value, returning a new Invalid value. Or, if the original valid was Valid, return it.

Do you like Arrow?

Arrow Org
<