Platform

lgbt.princess.platform.Platform$
object Platform

A utility for checking what platform Scala is running on.

Attributes

Source:
Platform.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete fields

final val isJS: false

Attributes

Returns:

whether or not Scala is running on JavaScript

Source:
Platform.scala
final val isJVM: false

Attributes

Returns:

whether or not Scala is running on the JVM

Source:
Platform.scala
final val isNative: true

Attributes

Returns:

whether or not Scala is running natively

Source:
Platform.scala