is there is Result for the wasm? would it be like ...
# multiplatform
i
is there is Result for the wasm? would it be like JS?
j
You should be able to use
Result
, as it's in the stdlib: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/ and according to https://kotlinlang.org/docs/wasm-overview.html#libraries-support:
You can use the Kotlin standard library (
stdlib
)
and test library (
kotlin.test
) in Kotlin/Wasm out of the box. The version of these libraries is the same as the version of the
kotlin-multiplatform
plugin.