Garry's Mod Wiki

system.IsWindows

  boolean system.IsWindows()

Description

Returns whether the current OS is Windows.

Returns

1 boolean
Whether the system the game runs on is Windows or not.