API UnitRace

Returns the race of the unit.
 raceName, raceFile, raceID = UnitRace(unit)
==Arguments==
:;unit: : UnitId
==Returns==
:;raceName: - Localized race name, suitable for use in user interfaces.
:;raceFile: - Localization-independent race name, suitable for use as table keys.
:;raceID: - RaceId. Localization-independent raceID.
==Example==
The following command prints your character's name and race to chat:
 /run print(UnitName("player").." is a "..UnitRace("player"))
==Values==
==Patch changes==
==See also==
* ()
* ()