Files
wow_Meta/api/IsEquippedAction.lua
2025-05-04 14:35:26 +02:00

7 lines
514 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