>wowhelm_
~/forever/addon-api/function/C_SpellBook.IsSpellKnown

C_SpellBook.IsSpellKnown

documented function · SpellBook
C_SpellBook.IsSpellKnown(spellID, spellBank) : isKnown

Returns true if a player knows a spell. This function can also return true for spells that aren't in the spellbook, such as temporarily-granted abilities

──ARGUMENTS
spellID
number
spellBank
SpellBookSpellBank, default Player
──RETURNS
isKnown
bool
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.