Result
Types
Functions
Inheritors
Extensions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
infix inline fun <V, E, U> Result<Iterable<V>, E>.mapAll(transform: (V) -> Result<U, E>): Result<List<U>, E>
Content copied to clipboard
Returns a Result, E> containing the results of applying the given transform function to each element in the original collection, returning early with the first Err if a transformation fails.
Link copied to clipboard
Link copied to clipboard
Returns a MutableIterator over the possibly contained value. The iterator yields one value if the Result is Ok, otherwise throws NoSuchElementException.
Link copied to clipboard