WoW:API UnitIsPlayer

Revision as of 18:30, 10 April 2006 by WoWWiki>Azxiana
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


UnitIsPlayer(UnitId)

Determines if the unit is a player.


Arguments
UnitId

Returns
True/False

Example
if (UnitIsPlayer(UnitId)) then
   --Do something here
elseif (UnitIsPlayer(UnitId) ~= nil) then
   --Do something here
end

Template:WoW API