operatingSystem()
Returns a constant to indicate the operating system on which the process is executing.
Declaration
func operatingSystem() -> IntReturn Value
Operating system identifier. See Constants for a list of possible values. In macOS, it’s NSMACHOperatingSystem.