API GetActiveSpecGroup

Returns the index of the current active specialization/talent/glyph group. activeSpec = GetActiveSpecGroup([isInspect])

Arguments

 * isInspect : Boolean - If true returns the information for the inspected unit instead of the player. Defaults to false.

Returns

 * activeSpec : Number - The index of the player's active specialization/talent/glyph group (1 for primary / 2 for secondary).