corda / net.corda.core.utilities / Try / map

map

inline fun <B> map(function: (A) -> B): Try<B>

Maps the given function to the value from this Success, or returns this if this is a Failure.