Returns the number of available specializations.
local numSpecializations = GetNumSpecializations(isInspect, isPet)
Arguments
Edit
- isInspect
- Boolean - if true, return information for the inspected unit; false by default
- isPet
- Boolean - if true, return information for the player's pet; false by default
If both arguments are false, the function returns information concerning the player.
Returns
Edit
- numSpecialization
- Number - number of available specializations.
Patch history
Edit
See also
Edit
Community content is available under CC-BY-SA
unless otherwise noted.