WoW:API CursorHasItem: Difference between revisions

m
no edit summary
(Updated to match the API boilerplate.)
mNo edit summary
Line 7: Line 7:


== Arguments ==
== Arguments ==
:none
:nil
 


== Returns ==
== Returns ==
:; hasItem : [[Boolean]] - Whether the cursor is holding an item.
:; hasItem : [[Boolean]] - Whether the cursor is holding an item.
== Note ==
This function returns nil if the item on the cursor is a merchant item (e.g. an item that was not picked up via [[API_PickupContainerItem|PickupContainerItem]]).
Anonymous user