Natonstan40529@legacy41560425 (talk | contribs) m (→Returns) |
m (trim param whitespace) Tag: WoW API docs |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{wowapi}} __NOTOC__ |
||
⚫ | |||
− | string - name of the item |
||
+ | Determines if an item is equipped. |
||
⚫ | |||
+ | isEquipped = IsEquippedItem(itemID or itemName) |
||
− | * 1 if the [[item]] is equipped, nil if it's not |
||
+ | |||
− | * I second this |
||
⚫ | |||
− | [[Category:Articles to clean up]] |
||
+ | :;itemId:{{apitype|number}} - identifier for each unique item |
||
+ | :;itemname:{{apitype|string}} - localized name of an item |
||
+ | |||
⚫ | |||
+ | :;isEquipped:{{apitype|boolean}} - is item equipped |
Latest revision as of 16:35, 21 July 2022
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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