A tiny library for determining what platform you are running on at runtime.
To use this library, add the following dependency to your build.sbt
:
"lgbt.princess" %%% "platform" % "1.0.2"
The entirety of the library is a Platform
object with the
following interface:
package lgbt.princess.platform
object Platform {
final val isJVM = ???
final val isJS = ???
final val isNative = ???
}
with the constants having the appropriate value on each platform.