API C TradeSkillUI.GetCategories

Returns a table of category IDs for the currently opened trade skill.
 categoryIDs = C_TradeSkillUI.GetCategories()
==Returns==
:;categoryIDs:
==Example==
This lists all categories for the currently opened profession.
local categories = {C_TradeSkillUI.GetCategories()}
for _, categoryID in pairs(categories) do
	print(categoryID, C_TradeSkillUI.GetCategoryInfo(categoryID).name)
end
==Patch changes==
==See also==
* 
*