|This is no longer a part of the World of Warcraft API.
use UnitIsGroupLeader instead.
Returns 1 if the unit is party leader, nil otherwise.
isTrue = UnitIsPartyLeader("arg1")
- String - Unit who should be checked
- 1 or nil
local TargetIsLeader = UnitIsPartyLeader("target")
TargetIsLeader = 1 - If your target is leader of their party TargetIsLeader = nil - If your target is not leader of their party
- Seems to work on players outside of their party.
- Patch 5.0.4 (2012-08-28): Removed.