Returns the number of talent tabs for the player, pet, or inspect target

Signature:

numTabs = GetNumTalentTabs(inspect, pet)

Arguments:

  • inspect - true to return information for the currently inspected unit; false to return information for the player (boolean)
  • pet - true to return information for the player's pet; false to return information for the player (boolean)

Returns:

  • numTabs - Number of talent tabs (number)