flatMap
inline fun <T : Any, R : Any, E : Any> ClerkResult<T, E>.flatMap(transform: (value: T) -> ClerkResult<R, E>): ClerkResult<R, E>
Returns a new ClerkResult by applying transform to the value of a ClerkResult.Success, or returns the original ClerkResult.Failure if this is a failure.