Garry's Mod Wiki


BRANCH is a variable containing a string indicating which (Beta) Branch of the game you are using. This variable is available in Client, Server and Menu Realms

For more information on beta branches, see this page


This is NOT a function, it's a variable containing a string.


if BRANCH == "dev" then print("You are using the development branch!") end

The possible outputs are unknown (None), chromium, dev, prerelease and x86-64