FlowMVI
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
FlowMVI
core
/
pro.respawn.flowmvi.util
/
withType
with
Type
inline
fun
<
T
:
R
,
R
>
R
.
withType
(
block
:
T
.
(
)
->
R
)
:
R
Do the operation on
this
if the type of
this
is
T
, and return
R
, otherwise return
this