Mod:Creation Kit/HasForm - FormList

Member of: Mod:Creation Kit/FormList Script

Returns whether the passed-in form exists in this form list.

Syntax
bool Function HasForm(Form akForm) native

Parameters

 * akForm: The form to look for in this form list.

Return Value
Whether the form exists in this list or not.

Examples
if fireSpell.HasForm(Fireball) Debug.Trace("Fireball is a fire spell!") endIf
 * Does the "fireball" spell exist in the "firespell" list?