map

inline fun <T, R> Validatable<T>.map(transform: (T) -> R): Validatable<R>

Returns a Validatable wrapping the result of the given transform function. The latter is applied to the wrapped value of the Validatable receiver.