ESODecoded

IsCollectibleUnlocked

ESO Lua API function — used by 59 of the 3,030 addons we indexed (combined 3,761,875 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsCollectibleUnlocked(integer collectibleId)

Returns: bool isUnlocked

Real usage — from Auto Category - Revised

	if collectibleId == 0 then return false end
	return not IsCollectibleUnlocked(collectibleId)
end

Short excerpt from the shipping addon Auto Category - Revisedits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Auto Category - Revised1,180,586
LibRunebox494,398
Collectibles Tracker (formerly Event Collectibles)283,469
LovelyEmotes276,662
The Questing Guide166,808
Journal Quest Log161,242