API:GetInventoryItemType

local eqType = GetInventoryItemType(unit, invPos)
invPos are item slots on the character
	[0] = "HeadSlot"
	[1] = "HandsSlot"
	[2] = "FeetSlot"
	[3] = "ChestSlot"
	[4] = "LegsSlot"
	[5] = "BackSlot"
	[6] = "WaistSlot"
	[7] = "ShoulderSlot"
	[8] = "NecklaceSlot"
	[9] = "AmmoSlot"
	[10] = "RangedSlot"
	[11] = "Ring0Slot"
	[12] = "Ring1Slot"
	[13] = "Earring0Slot"
	[14] = "Earring1Slot"
	[15] = "MainHandSlot"
	[16] = "SecondaryHandSlot"
	[18] = "FirstNecklaceSlot"
	[19] = "SecondNecklaceSlot"
	[20] = "ThirdNecklaceSlot"
	[21] = Slot for wings
return
 -1 if slot is free
 0 if armor in slot
 1 if weapon in slot
Category:Functions