API:UnitInParty

__NOTOC__
UnitInParty
Verifies if a given unit is in the player's party (You are not in your own party.)
UnitInParty(UnitId);
== Parameters ==
=== Arguments ===
:;UnitId
::string - The UnitId to look up in the party.
=== Returns ===
:;boolean
::Boolean value - true if the unit is in your party, false otherwise.
== Example ==
isPlayerInParty = UnitInParty(UnitId);
== Notes ==
== Related Functions ==
* InviteByName