arrow-core-data / arrow.core / Validated / map

map

inline fun <B> map(f: (A) -> B): Validated<E, B>

Apply a function to a Valid value, returning a new Valid value

Do you like Arrow?

Arrow Org
<