platform

actual fun platform(): Platform
expect fun platform(): Platform

The current platform. This is used from tests because Double.toString() doesn't behave the same on JS and other platforms. Prefer more specific functions like assertMainThreadOnNative when possible instead of checking the platform.

actual fun platform(): Platform
actual fun platform(): Platform