WoW:API IsEquippableItem: Difference between revisions
Jump to navigation
Jump to search
(add documentation for IsEquippableItem) |
(Function behavior does not change with character class, statement did not add value, does lend to confusion.) |
||
Line 15: | Line 15: | ||
== Example == | == Example == | ||
/dump IsEquippableItem("{{loot|epic|Heroes' Dreadnaught Helmet}}") | /dump IsEquippableItem("{{loot|epic|Heroes' Dreadnaught Helmet}}") |
Revision as of 04:44, 2 November 2012
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
/dump IsEquippableItem("Template:Loot") 1 /dump IsEquippableItem("Template:Loot") 1 /dump IsEquippableItem("Template:Loot") nil