m
Move page script moved page API HasAction to WoW:API HasAction without leaving a redirect
m (replaced depricated {{WoW API}} with {{wowapi}}) |
m (Move page script moved page API HasAction to WoW:API HasAction without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{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 | |||