API:UnitRace

Get the race of a unit.

Parameter

 * unit
 * String - the UnitID (e.g. "player", "target", "party1", "raid1", etc..)

Returns

 * genderID
 * String - returns Human or Elf
 * Note: if the specified unit doesn't exist, it returns nil.

Example
Display the race of the player