Returns whether two units are from the same server


See also Unit functions.

Signature:

isSame = UnitIsSameServer("unit", "unit")

Arguments:

  • unit - A unit (string, unitID)
  • unit - Another unit (string, unitID)

Returns:

  • isSame - 1 if the two units are from the same server; otherwise nil. (1nil)