WoW API: HasAction

Revision as of 20:07, 16 October 2006 by WoWWiki>Socrates200X (Copy-edit to fit {{wowapi}})

WoW API < HasAction

Tests if an action slot is occupied. Template:Code/Begin hasAction = HasAction(actionSlot) Template:Code/End

Parameters

Arguments

actionSlot - ActionSlot
The tested action slot.

Returns

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