map

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

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