WoW:API UnitIsPlayer
UnitIsPlayer(UnitId)
Determines if the unit is a player.
- Arguments
- Returns
- True/False
- Example
if (UnitIsPlayer(UnitId)) then --Do something here elseif (UnitIsPlayer(UnitId) ~= nil) then --Do something here end
UnitIsPlayer(UnitId)
Determines if the unit is a player.
if (UnitIsPlayer(UnitId)) then --Do something here elseif (UnitIsPlayer(UnitId) ~= nil) then --Do something here end