v0.13.8

C_CVar.GetCVarBool

functionimplementedavailable in: camelot

Returns the boolean value of a console variable.

signaturewowlua
function C_CVar.GetCVarBool(    name: string): boolean?

Parameters

nametypedescription
namestringName of the CVar to query the value of.

Returns

value · boolean? · Compared to GetCVar, "1" would return as true, "0" would return as false

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CVarScripts system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.