Returns whether an item is consumable. Indicates whether the item is destroyed upon use, not necessarily whether it belongs to the "Consumable" type/class.


See also Item functions.

Signature:

consumable = IsConsumableItem(itemID) or IsConsumableItem("itemName") or IsConsumableItem("itemLink")

Arguments:

  • itemID - An item's ID (number)
  • itemName - An item's name (string)
  • itemLink - An item's hyperlink, or any string containing the itemString portion of an item link (string)

Returns:

  • consumable - 1 if the item is consumable; otherwise nil (1nil)