API IsTrainerServiceLearnSpell

Returns the type of trainer spell in the trainer window.
 isLearnSpell, isPetLearnSpell = IsTrainerServiceLearnSpell(index)
==Arguments==
:;index: - The index of the spell in the trainer window.
==Returns==
:;isLearnSpell: - Returns 1 if the spell is a class spell or a learnable profession spell, nil otherwise.
:;isPetLearnSpell: - Returns 1 if a pet spell, nil otherwise.
==Patch changes==
==See also==
* ()