class="brief "><p class="paragraph">Transforms the encapsulated value from <a href="flat-map.html">T</a> to <a href="flat-map.html">R</a> if this result is a <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/is-success.html">success</a>, or returns the original exception if this result or the one returned by the <a href="flat-map.html">transform</a> function is a <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/is-failure.html">failure</a>.</p></div></div></div>
      