Garry's Mod Wiki

system.IsOSX

  boolean system.IsOSX()

Description

Returns whether the current OS is OSX.

Returns

1 boolean
Whether or not the game is running on OSX.