Returns whether a unit is the raid leader.
See also Party functions, Raid functions.
Signature:
leader = UnitIsGroupLeader("unit") or UnitIsGroupLeader("name")
Arguments:
unit- A unit to query (string, unitID)name- The name of a unit to query (string)
Returns:
leader- true if the unit is a raid assistant; otherwise false (bool)