WoW:API HasAction: Difference between revisions
Jump to navigation
Jump to search
(Copy-edit to fit {{wowapi}}) |
(removed code block and clear) |
||
Line 2: | Line 2: | ||
Tests if an action slot is occupied. | Tests if an action slot is occupied. | ||
hasAction = HasAction(actionSlot) | |||
hasAction = HasAction(actionSlot) | |||
== Parameters == | == Parameters == | ||
''Arguments'' | ''Arguments'' |
Revision as of 23:49, 12 May 2007
Tests if an action slot is occupied.
hasAction = HasAction(actionSlot)
Parameters
Arguments
- actionSlot - ActionSlot
- The tested action slot.
Returns
- hasAction - Flag
- 1, if the slot contains an action
- nil, if the slot is empty