Files
wow_Meta/api/IsEquippedAction.lua
2024-12-16 13:13:08 +01:00

6 lines
515 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param slot number
---@return 1nil isEquipped
---Returns whether an action contains an equipped item. Applies to actions involving equippable items (not to consumables or other items with "Use:" effects) and indicates the effect of performing the action: if an action's item is not equipped, using the action will equip it; if the item is equipped and has a "Use:" effect, using the action will activate said effect.
function IsEquippedAction(slot) end