mapResultIndexedNotNull

inline fun <V, E, U : Any> Iterable<V>.mapResultIndexedNotNull(transform: (index: Int, V) -> Result<U, E>?): Result<List<U>, E>

Returns a Result, E> containing only the non-null results of applying the given transform function to each element and its index in the original collection, returning early with the first Err if a transformation fails.