Files
wow_Meta/api/IsEquippedAction.lua
2025-05-04 15:15:00 +02:00

8 lines
523 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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