IsConsumableItem
Jump to navigation
Jump to search
C_Item.IsConsumableItem |
+ 10.2.6 / 4.4.0 / 1.15.2 | AllowedWhenUntainted
| ||
IsConsumableItem |
+ 2.0.1 / 1.13.2 |
| This function was deprecated in patch 10.2.6 but it is unclear when the deprecation will be removed. |
Returns whether an item is consumed when used.
isConsumable = IsConsumableItem(itemID or itemLink or itemName)
Arguments
- item
- Mixed - An item ID (number), item link or item name (string) to query
Returns
- isConsumable
- boolean - 1 if the item is consumed when used, nil otherwise