API GetTalentTreeRoles

Returns the role(s) which a particular talent tree is designed for. tabRole1, tabRole2 = GetTalentTreeRoles(talentTreeId, [isInspect[, isPet]])

Arguments

 * talentTreeId :  Number - The ID of the talent tree, 1-3 as returned by GetPrimaryTalentTree and similar functions.
 * isInspect : Boolean (Optional) - If true returns the information for the inspected unit instead of the player.
 * isPet : Boolean (Optional) - If true returns the information for the inspected pet.

Returns

 * tabRole1, tabRole2  : String - Returns the name of the role(s) this tree is designed for, DAMAGER, HEALER, TANK. Will return only one value if the tree only serves one role.