Caveats
CK Wiki - Notes
This function only detects whether the actor knows a spell. It will not detect if the actor is under the influence of a spell's effect. For detecting spells that have been cast on or otherwise applied to the actor, use Actor.HasMagicEffect(...).
Parameters
Examples
; Does the player have the super spell?
if (Game.GetPlayer().HasSpell(SuperSpell))
Debug.Trace("The player has the super spell")
endIfAuto-Generated Example
Form myForm__akForm
bool returnedValue = myActor__toCallFunctionOn.HasSpell(myForm__akForm)