WoW API: HasAction

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API HasAction to API HasAction without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < HasAction

Tests if an action slot is occupied.

hasAction = HasAction(actionSlot)

Parameters[edit]

Arguments

actionSlot - ActionSlot
The tested action slot.

Returns

hasAction - Flag
  • 1, if the slot contains an action
  • nil, if the slot is empty