Returns whether a unit is a corpse


See also Unit functions.

Signature:

isCorpse = UnitIsCorpse("unit")

Arguments:

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

Returns:

  • isCorpse - 1 if the unit is a corpse; otherwise nil (1nil)