traverse<U> method

  1. @Deprecated('Use mapMaybe')
Maybe<List<U>> traverse<U>(
  1. Maybe<U> tryMap(
    1. T
    )
)

Traverses an iterable trying to map the elements with tryMap, returning None if either the iterable was empty or the result of every mapping operation was None.

Implementation

@Deprecated('Use mapMaybe')
Maybe<List<U>> traverse<U>(Maybe<U> Function(T) tryMap) => mapMaybe(tryMap);