Fandom

WoWWiki

API IsEquippableItem

104,759pages on
this wiki
Add New Page
Talk0 Share
WoW API < IsEquippableItem

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 Edit

Arguments Edit

(itemId or "itemName" or "itemLink")
itemId 
Integer - The numeric ID of the item. ie. 12345
itemName 
String - The Name of the Item, e.g. "Heavy Silk Bandage"
itemLink 
String - The itemLink, when Shift-Clicking items.

Returns Edit

result 
1 if equip-able, nil otherwise.

Example Edit

/dump IsEquippableItem("[Heroes' Dreadnaught Helmet]")
1
/dump IsEquippableItem("[Heroes' Dreamwalker Headguard]")
1
/dump IsEquippableItem("[Mr. Pinchy]")
nil

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.