Is Dispellable By Me
Core Helper
Checks whether the active character can dispel a debuff type according to ElvUI’s dispel map.
NamespaceEModuleCoreLifecyclestable
E:IsDispellableByMe(debuffType)Checks whether the active character can dispel a debuff type according to ElvUI’s dispel map.
Parameters
Section titled “Parameters”- debuffType: Debuff type string such as Magic, Curse, Disease, or Poison.
Returns
Section titled “Returns”Truthy value when the debuff type can be dispelled by the player.
Example
Section titled “Example”if E:IsDispellableByMe(debuffType) then border:Show()endUseful for addon aura highlights that should line up with ElvUI dispel coloring.
Source: ElvUI/Game/Shared/General/API.lua:707