IsValidQuestIndex
ESO Lua API function — used by 34 of the 3,030 addons we indexed (combined 17,382,430 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
IsValidQuestIndex(luaindex journalQuestIndex)Returns: bool isValid
Real usage — from LibQuestData
for i = 1, GetNumJournalQuests() do
if IsValidQuestIndex(i) then
local name = GetJournalQuestName(i)Short excerpt from the shipping addon LibQuestData — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| LibQuestData | 4,916,044 |
| Potion Maker (for Alchemy Crafting) | 3,765,616 |
| Quest Map | 3,746,568 |
| ESO Master Recipe List | 2,130,985 |
| Ravalox' Quest Tracker | 1,460,568 |
| Votan's Improved Quests | 557,578 |