API GetItemSubClassInfo

Returns the name of the item subtype. name, isArmorType = GetItemSubClassInfo(classID, subClassID)

Arguments

 * classID : number - ID of the ItemType
 * subClassID : number - ID of the item subtype

Returns

 * name : string - Name of the item subtype
 * isArmorType : boolean - Seems to only return true for  Miscellaneous, Cloth, Leather,	Mail, Plate

Example
print(GetItemSubClassInfo(LE_ITEM_CLASS_CONSUMABLE, 0))

> "Explosives and Devices", false