UnitIsPlayer

From Wowpedia
Jump to: navigation, search
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

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.