API UnitPlayerOrPetInParty

Returns true if a different unit or pet is a member of the party.
 inMyParty = UnitPlayerOrPetInParty(unit)
==Arguments==
:;unit: : The unit to check for party membership.
==Returns==
:;inMyParty: - 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.