Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
KethoBot (talk | contribs)
m (trim param whitespace)
Tag: WoW API docs
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
{{wowapi}} __NOTOC__
== Arguments ==
 
string - name of the item
 
   
  +
Determines if an item is equipped.
== Returns ==
 
  +
isEquipped = IsEquippedItem(itemID or itemName)
* 1 if the [[item]] is equipped, nil if it's not
 
  +
* I second this
 
 
==Arguments==
[[Category:Articles to clean up]]
 
  +
:;itemId:{{apitype|number}} - identifier for each unique item
  +
:;itemname:{{apitype|string}} - localized name of an item
  +
 
==Returns==
  +
:;isEquipped:{{apitype|boolean}} - is item equipped

Latest revision as of 16:35, 21 July 2022

Determines if an item is equipped.

isEquipped = IsEquippedItem(itemID or itemName)

Arguments

itemId
number - identifier for each unique item
itemname
string - localized name of an item

Returns

isEquipped
boolean - is item equipped