kotest-fp / io.kotest.fp / Try / invoke

invoke

operator fun invoke(t: Throwable): Try<Unit>
operator inline fun <T> invoke(f: () -> T): Try<T>