Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Checks if a specified unit is a player.
isTrue = UnitIsPlayer(unit)
Arguments
- unit
- String - UnitId of the unit to check.
Returns
- isTrue
- Boolean - true if the unit is a player, false otherwise.