mod.IsModRegistered

Name

mod.IsModRegistered – determine whether a given mod has been registered

Synopsis

result = mod.IsModRegistered(mod_name)

Description

This returns true if a mod with the given name has been registered, or false otherwise.

Errors

An error is raised if the first argument is not a string; otherwise, no errors are possible.

Notes

mod.IsModRegistered(name) is equivalent to mod.GetModVersion(name) ~= nil.

See Also

mod.GetModVersion

mod.GetRegisteredMod

mod.RegisterMod