API UnitIsSameServer

Returns whether the specified unit is from the player's own realm (or, equivalently, a linked Connected Realm). sameServer = UnitIsSameServer("unit")

Arguments

 * unit : String - unitId of a unit to query.

Returns

 * sameServer : Flag - 1 if the specified unit is from the player's realm (or a Connected Realm linked to the player's own realm), nil otherwise.