Catamorfizm9079@legacy41530266 (talk | contribs) (add documentation for IsEquippableItem) |
m (Strip semicolons and double quotes) Tag: WoW API docs |
||
Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ |
{{wowapi}}__NOTOC__ |
||
Returns 1 if item is an equip-able one at all, your character notwithstanding, or nil if not. |
Returns 1 if item is an equip-able one at all, your character notwithstanding, or nil if not. |
||
− | result = IsEquippableItem(itemId or |
+ | result = IsEquippableItem(itemId or itemName or itemLink) |
== Parameters == |
== Parameters == |
Revision as of 02:43, 6 February 2022
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns 1 if item is an equip-able one at all, your character notwithstanding, or nil if not.
result = IsEquippableItem(itemId or itemName or itemLink)
Parameters
Arguments
- (itemId or "itemName" or "itemLink")
Returns
- result
- 1 if equip-able, nil otherwise.
Example
On a Druid:
/dump IsEquippableItem("[Heroes' Dreadnaught Helmet]") 1 /dump IsEquippableItem("[Heroes' Dreamwalker Headguard]") 1 /dump IsEquippableItem("[Mr. Pinchy]") nil