WoW API: HasAction

WoW API < HasAction

Tests if an action slot is occupied.

hasAction = HasAction(actionSlot)

ParametersEdit

Arguments

actionSlot - ActionSlot
The tested action slot.

Returns

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