toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls.form
/
map
map
inline
fun
<
T
,
R
>
Form.FieldState
<
T
>
.
map
(
onValid
:
(
value
:
T
)
->
R
)
:
Form.FieldState
<
R
>
(
source
)
Returns a
valid
state from the result of
onValid
if this instance is
valid
or
invalid
otherwise.