traverseOption

inline fun <E, A, B> Either<E, A>.traverseOption(transform: (A) -> Option<B>): Option<Either<E, B>>(source)

Synonym for traverse((A)-> Option): Option>


inline fun <A, B, C> Ior<A, B>.traverseOption(f: (B) -> Option<C>): Option<Ior<A, C>>(source)


inline fun <A, B> Iterable<A>.traverseOption(f: (A) -> Option<B>): Option<List<B>>(source)
inline fun <A, B> Sequence<A>.traverseOption(f: (A) -> Option<B>): Option<List<B>>(source)

Synonym for traverse((A)-> Option): Option>


inline fun <K, A, B> Map<K, A>.traverseOption(f: (A) -> Option<B>): Option<Map<K, B>>(source)

Synonym for traverse((A)-> Option): Option>


inline fun <A, B> NonEmptyList<A>.traverseOption(f: (A) -> Option<B>): Option<NonEmptyList<B>>(source)

Synonym for traverse((A)-> Option): Option>