WoW API: CursorHasItem

Revision as of 08:53, 14 February 2008 by WoWWiki>Egingell

WoW API < CursorHasItem


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 PickupContainerItem).