what is the best way to know inside the common cod...
# multiplatform
d
what is the best way to know inside the common code which is the running platform (e.g. Android, iOS, Destkop, etc.)?
e
Copy code
// commonMain/platform.kt
expect val platform: String
// androidMain/platform.kt
actual val platform: String = "android"
// etc.
d
thanks!