IsUnitGrouped
ESO Lua API function — used by 161 of the 3,030 addons we indexed (combined 21,323,134 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
IsUnitGrouped(string unitTag)Returns: bool isGrouped
Real usage — from HodorReflexes - DPS & ULT tracker
core.RegisterSubCommand("test", GetString(HR_CORE_GROUP_COMMAND_TEST_HELP), function(str)
if IsUnitGrouped(localPlayer) then
df("|cFF0000%s|r %s", addon_name, GetString(HR_CORE_GROUP_COMMAND_TEST_LEAVE_GROUP))Short excerpt from the shipping addon HodorReflexes - DPS & ULT tracker — 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 |
|---|---|
| HodorReflexes - DPS & ULT tracker | 3,446,840 |
| LibMapPing | 2,827,802 |
| RaidNotifier Updated | 2,789,746 |
| LibZone | 1,937,031 |
| Loot Log | 1,608,502 |
| Provision's TeamFormation : Teammate Radar | 1,506,270 |