WoW:API HasAction: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (replaced depricated {{WoW API}} with {{wowapi}})
Line 1: Line 1:
{{wowapi}}
<center>'''HasAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
<center>'''HasAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center>


Line 15: Line 16:
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}

Revision as of 16:40, 18 July 2006

WoW API < HasAction

HasAction - Documentation by Flickering

Test if an action slot is occupied.

hasAction = HasAction(actionSlot)

Parameters

Arguments

(actionSlot)
actionSlot
Numeric - The action slot to test.

Returns

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