API UnitIsDead

Returns a value indicating whether the specified unit is dead.

isDead = UnitIsDead(unit)

Arguments

 * unit : String - the UnitId to query

Returns
true if the unit is dead, false otherwise.

Details

 * See for details.