Garry's Mod Wiki

ConVarExists

  boolean ConVarExists( string name )

Description

Returns whether a ConVar with the given name exists or not

Arguments

1 string name
Name of the ConVar.

Returns

1 boolean
True if the ConVar exists, false otherwise.