Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UnitIsGroupLeader

From Wowpedia
Jump to: navigation, search

Returns true if the unit is the leader of a party or raid, false otherwise.

isLeader = UnitIsGroupLeader("unit" or "player name")


String (unitId) - The unit ID to check.


Boolean - Is the player the leader of the group?


  • Bug: If you pass this function an unknown name the name you passed will be returned to you as the return value.