Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if the unit is a player character.
isPlayer = UnitIsPlayer(unit)
Arguments[]
- unit
- string : UnitId
Returns[]
- isPlayer
- boolean - true if the unit is a player, false otherwise.