API GetNumSpecializations

Returns the number of available specializations.
 numSpecializations = GetNumSpecializations([isInspect, isPet])
==Arguments==
:;isInspect: - if true, return information for the inspected unit; false by default
:;isPet: - 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==
:;numSpecialization: - number of available specializations.
==Details==
==Patch changes==