map Result Not Null
inline fun <V, E, U : Any> Iterable<V>.mapResultNotNull(transform: (V) -> Result<U, E>?): Result<List<U>, E>
Content copied to clipboard
Returns a Result, E> containing only the non-null results of applying the given transform function to each element in the original collection, returning early with the first Err if a transformation fails.