~/forever/addon-api/function/C_Spell.IsActiveSpell
C_Spell.IsActiveSpell
documented function · Spell
C_Spell.IsActiveSpell(spellIdentifier, targetUnit?) : isActiveSpellReturns true if the spell is a currently active toggled spell
──ARGUMENTS
- spellIdentifier
- SpellIdentifier
- targetUnit
- UnitToken, optional (Optional specific target; If not supplied, the player will be used, or their pet if the spell is a pet spell)
──RETURNS
- isActiveSpell
- bool
──DETAILS
- Secret When Unit Aura Restricted
- true
- Secret When Unit Identity Restricted
- true
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.