Returns whether a unit is either dead or a ghost


See also Unit functions.

Signature:

isDeadOrGhost = UnitIsDeadOrGhost("unit")

Arguments:

  • unit - A unit to query (string, unitID)

Returns:

  • isDeadOrGhost - 1 if the unit is dead or a ghost, otherwise nil (1nil)