Queries whether an addon is currently enabled. This may differ from what addons are currently loaded, especially if changes have been made and the UI has not yet been reloaded.
See also Addon-related functions.
character- The name of the character to be query (without realm). May also be nil to query the logical disjunction of enable settings for all characters on the current realm ('All' setting in default UI). (
index- The index of the addon to be query (
enabled- 0 if the addon is disabled, 1 if partially enabled (only when querying all characters), 2 if fully enabled (