bitraverse Option
inline fun <AA, C> bitraverseOption(fl: (A) -> Option<AA>, fr: (B) -> Option<C>): Option<Either<AA, C>>
Deprecated
This API is niche and will be removed in the future. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Prefer explicit fold instead
Replace with
fold({ fl(it).map(::Left) }, { fr(it).map(::Right) })Content copied to clipboard