Platform

object Platform

Utility methods indicating the platform type

class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val isCygwin: Boolean

Test for the target type

Test for the target type

Returns:

true if cygnus, false otherwise

lazy val isFreeBSD: Boolean

Test for the platform type

Test for the platform type

Returns:

true if FreeBSD, false otherwise

final val isJVM: true
lazy val isLinux: Boolean

Test for the platform type

Test for the platform type

Returns:

true if Linux, false otherwise

lazy val isMac: Boolean

Test for the platform type

Test for the platform type

Returns:

true if macOS, false otherwise

lazy val isMsys: Boolean

Test for the target type

Test for the target type

Returns:

true if msys, false otherwise

lazy val isUnix: Boolean

Test for the platform type

Test for the platform type

Returns:

true if UNIX, false otherwise

lazy val isWindows: Boolean

Test for the platform type

Test for the platform type

Returns:

true if Windows, false otherwise