toggle menu
FlowMVI
3.1.0-beta01
common
switch theme
search in API
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