runOnAndroid

inline fun <T> runOnAndroid(action: () -> T?): T?

Executes action if the currentPlatform is ApplicationType.Android. Returns action result or null.

See also