API:UnitInParty

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