toggle menu
doodle
0.11.4
common
switch theme
search in API
controls
/
io.nacular.doodle.utils
/
PassThroughEncoder
/
encode
encode
open
override
fun
encode
(
a
:
T
)
:
Result
<
T
>
(
source
)
Convert
a
to B
Return
a Result containing thew new type if successful
Parameters
a
to be converted