API:UnitIsPlayer

__NOTOC__
UnitIsPlayer
Determines if a given unit is a player character. This can be any player character, inc. yourself.
UnitIsPlayer(UnitId);
== Parameters ==
=== Arguments ===
:;UnitId
::string - A UnitId to query, e.g. "target", "focus1".
=== Returns ===
:;boolean
::Boolean value - true if the given unit is a player character, false otherwise.
== Example ==
isPlayer = UnitIsPlayer("target");
== Notes ==
== Related Functions ==
* UnitIsUnit