toggle menu
ktx
jvm
switch theme
search in API
app
/
ktx.app
/
Platform
/
runOnAndroid
run
On
Android
inline
fun
<
T
>
runOnAndroid
(
action
:
(
)
->
T
?
)
:
T
?
Executes
action
if the
currentPlatform
is
ApplicationType.Android
. Returns
action
result or null.
See also
Platform.
isAndroid