API C_CVar.GetCVarBool

From Wowpedia
Jump to: navigation, search

Returns the boolean value of a console variable.

value = C_CVar.GetCVarBool("name")

Arguments

name 
string - name of the CVar to query the value of.

Returns

value 
boolean (nilable) - compared to GetCVar, "1" would return as true, "0" would return as false

Patch changes

See also