Returns whether a unit is the leader of any group
See also Unit functions, Raid functions, Party functions.
unit- A unit to query (
uLead- True if (name) is the leader of any group or raid (
local uLeads = UnitLeadsAnyGroup(name) if uLeads then print(name.." in group "..grp.." leads a group") end