>wowhelm_
~/forever/addon-api/function/C_Spell.GetSpellInfo

C_Spell.GetSpellInfo

documented function · Spell
C_Spell.GetSpellInfo(spellIdentifier) : spellInfo

Returns nil if spell is not found

──ARGUMENTS
spellIdentifier
SpellIdentifier (Spell ID, name, name(subtext), or link; Using name will always check for an override on that spell)
──RETURNS
spellInfo
SpellInfo
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

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