Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if a different unit or pet is a member of the party.
inMyParty = UnitPlayerOrPetInParty(unit)
Arguments[]
- unit
- string : The unit to check for party membership.
Returns[]
- inMyParty
- boolean - 1 if the unit is another player or another player's pet in your party, nil otherwise.
Details[]
- This function returns nil if the unit is the player, or the player's pet.