WoW:API CursorHasItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(Updated to match the API boilerplate.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{Stub/API}}
 
Returns true if the cursor currently holds an item
 
Returns 1 if the cursor currently holds an item, nil otherwise.
hasItem = CursorHasItem()
 
 
== Arguments ==
:none
 
 
== Returns ==
:; hasItem : [[Boolean]] - Whether the cursor is holding an item.

Revision as of 17:07, 25 June 2007

WoW API < CursorHasItem


Returns 1 if the cursor currently holds an item, nil otherwise.

hasItem = CursorHasItem()


Arguments

none


Returns

hasItem
Boolean - Whether the cursor is holding an item.