ESODecoded

IsConsoleUI

ESO Lua API function — used by 70 of the 3,030 addons we indexed (combined 16,719,511 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsConsoleUI()

Returns: bool isConsoleUI

Real usage — from LibMediaProvider

	--                   These will be replaced with the fallback font when fetching. You can use the HashTable method to find the true registered font filename.
	if IsConsoleUI() then
		self.blacklistedFont["JP-KafuPenji"] = true

Short excerpt from the shipping addon LibMediaProviderits 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
LibMediaProvider3,745,146
HodorReflexes - DPS & ULT tracker3,446,840
LibMainMenu-2.02,455,168
Harven's Improved Skills Window1,728,271
Votan's Fisherman1,662,523
Votan's Improved Locations713,271