Returns true if the given spellbook item was added by an active talent. Used once in the BlizzardUI to determine whether an item in the player's active spellbook should have "Talent" in their subtext. This will not work with inactive spellbook items as their talents aren't currently selected.


See also Talent functions.

Signature:

isTalentSpell = IsTalentSpell(index, "bookType")

Arguments:

  • index - Index of a spell in the spellbook (number, spellbookID)
  • bookType - Type of spellbook (string)
    • pet - The pet's spellbook
    • spell - The player's spellbook

Returns:

  • isTalentSpell - true if the given spellbook slot was populated by a talent choice (boolean)