API GetActiveSpecGroup

Returns the index of the current active specialization/talent/glyph group.
 activeSpec = GetActiveSpecGroup([isInspect])
==Arguments==
:;isInspect: (Defaults to false) - If true returns the information for the inspected unit instead of the player.
==Returns==
:;activeSpec: - The index of the player's active specialization/talent/glyph group (1 for primary / 2 for secondary).
==Patch changes==