API:UnitIsPlayer

Determines if a given unit is a player character. This can be any player character, inc. yourself.

Arguments

 * UnitId
 * string - A UnitId to query, e.g. "target", "focus1".

Returns

 * boolean
 * Boolean value -  if the given unit is a player character,   otherwise.

Related Functions

 * UnitIsUnit