mapResultIndexedNotNullTo

inline fun <V, E, U : Any, C : MutableCollection<in U>> Iterable<V>.mapResultIndexedNotNullTo(destination: C, transform: (index: Int, V) -> Result<U, E>?): Result<C, E>

Applies the given transform function to each element and its index in the original collection and appends only the non-null results to the given destination, returning early with the first Err if a transformation fails.