C_CVar .GetCVarBool
Jump to navigation
Jump to search
Returns the boolean value of a console variable.
value = C_CVar.GetCVarBool(name) GetCVarBool
Arguments
- name
- string - Name of the CVar to query the value of.
Returns
- value
- boolean? - Compared to GetCVar, "1" would return as true, "0" would return as false
Patch changes
Patch 8.1.5 (2019-03-12): Namespaced to C_CVar.GetCVarBool()
.