How to use [system.os]

The reference page of system.os has its arguments, constraints and declaration.

In addition to the above slots this project also contains the following slots.

  • [system.os] - Returns description of your operating system
  • [system.is-os] - Returns true if your underlying operating system is of the specified type

The last slot above takes an argument such as “Windows”, “OSX, “Linux”, etc, and will return true of the operating system you are currently running on belongs to the specified family of operating systems. Below is example usage of both.

system.is-os:OSX
system.os