API UnitIsPartyLeader

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < UnitIsPartyLeader

Returns 1 if the unit is party leader, nil otherwise.

isTrue = UnitIsPartyLeader("arg1")

Parameters Edit

Arguments Edit

String - Unit who should be checked

Returns Edit

1 or nil

Example Edit

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.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki