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
Arguments
- (itemId or "itemName" or "itemLink")
Returns
- result
- 1 if equip-able, nil otherwise.
Example
On a Druid:
/dump IsEquippableItem("Template:Loot") 1 /dump IsEquippableItem("Template:Loot") 1 /dump IsEquippableItem("Template:Loot") nil