Returns whether a unit is in the player's party or belongs to a party member. Returns nil for the player and the player's pet.
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 in the player's party or is a pet belonging to a party member; otherwise nil (