arrow-core-data / arrow.core / Try / flatMap

flatMap

fun <B> flatMap(f: (A) -> <ERROR CLASS><B>): Try<B>

Returns the given function applied to the value from this Success or returns this if this is a Failure.

Do you like Arrow?

Arrow Org
<