→ WoW API
Returns the boolean value of a console variable.
value = C_CVar.GetCVarBool("name")
- string - name of the CVar to query the value of.
- boolean (nilable) - compared to GetCVar, "1" would return as true, "0" would return as false
- Patch 8.1.5 (2019-03-12): Moved to C_CVar. The previous alias GetCVarBool is still available as a script wrapper.