io.sureshg.extn / Platform

Platform

object Platform

A platform is a unique combination of CPU architecture and operating system. This class attempts to determine the platform it is executing on by examining and normalizing the os.arch and os.name system properties.

Author
Suresh

Types

Arch

enum class Arch

OS

enum class OS

Properties

arch

val arch: Arch

isUnix

val isUnix: Boolean

os

val os: OS

user

val user: String

Extension Properties

p

val Any?.p: Unit

Prints the Any.toString to console.