m
Move page script moved page API CursorHasItem to WoW:API CursorHasItem without leaving a redirect
(upgraded deprecated template) |
m (Move page script moved page API CursorHasItem to WoW:API CursorHasItem without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} __NOTOC__ | ||
Returns | |||
Returns 1 if the cursor currently holds an item, nil otherwise. | |||
hasItem = CursorHasItem() | |||
== Arguments == | |||
:nil | |||
== Returns == | |||
:; 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]]). | |||