ESODecoded

IsUnitDead

ESO Lua API function — used by 168 of the 3,030 addons we indexed (combined 14,829,020 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsUnitDead(string unitTag)

Returns: bool isDead

Real usage — from Code's Combat Alerts

			nil,
			unit[(self.options.strikeDead and IsUnitDead(unitTag)) and "nameStriked" or "name"]
		)

Short excerpt from the shipping addon Code's Combat Alertsits 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
Code's Combat Alerts4,445,158
Provision's TeamFormation : Teammate Radar1,506,270
Foundry Tactical Combat (FTC)1,097,601
Auto Recharge (and repair)1,014,626
Votan's Fish Fillet1,006,043
OdySupportIcons - Group Role Icons & More484,590