Returns whether a unit is a player unit in the player's party. Always returns 1 for the
player unit. Returns nil for the player's or party members' pets.
See also Unit functions, Party functions.
unit- A unit to query (
name- The name of a unit to query (
inParty- 1 if the unit is a player unit in the player's party; otherwise nil. (