Get Class Info
Core Helper
Looks up cached class metadata by class file token or class id.
NamespaceEModuleCoreLifecyclestable
E:GetClassInfo(value)Looks up cached class metadata by class file token or class id.
Parameters
Section titled “Parameters”value: Class file token such as MAGE, or numeric class id.
Returns
Section titled “Returns”Class info table from C_CreatureInfo.GetClassInfo, or nil.
Example
Section titled “Example”local info = E:GetClassInfo("DRUID")Avoids addon authors rebuilding class id and class token maps.
Source: ElvUI/Game/Shared/General/API.lua:329