WoW:API HasAction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API HasAction to API HasAction without leaving a redirect) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Tests if an action slot is occupied. | |||
hasAction = HasAction(actionSlot) | |||
== Parameters == | == Parameters == | ||
''Arguments'' | |||
:;actionSlot : | :;actionSlot - [[ActionSlot]] : The tested action slot. | ||
''Returns'' | |||
:;hasAction : | :;hasAction - Flag | ||
:* 1, if the slot contains an action | |||
:* nil, if the slot is empty | |||
Latest revision as of 04:46, 15 August 2023
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