Returns whether an addon is currently loaded


See also Addon-related functions.

Signature:

loaded = IsAddOnLoaded("name") or IsAddOnLoaded(index)

Arguments:

  • name - Name of an addon (name of the addon's folder and TOC file, not the Title found in the TOC) (string)
  • index - Index of an addon in the addon list (between 1 and GetNumAddOns()) (number)

Returns:

  • loaded - 1 if the addon is loaded; otherwise nil (1nil)