6 lines
		
	
	
		
			587 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			587 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
 | 
						|
---@param type string 
 | 
						|
---@return 1nil isEquipped 
 | 
						|
---Returns whether any items of a given type are currently equipped. Possible arguments include the localized names of item classes (as returned from GetAuctionItemClasses; e.g. "Weapon", "Armor"), subclasses (as returned from GetAuctionItemSubClasses; e.g. "One-handed axes", "Shields", "Cloth"), and the global tokens or localized names for equip locations (as returned from GetAuctionInvTypes; e.g. "INVTYPE_WEAPONMAINHAND", "Off Hand").
 | 
						|
function IsEquippedItemType(type) end |