API C PlayerInfo.UnitIsSameServer

Returns true if a player is from the same or connected realm.
 unitIsSameServer = C_PlayerInfo.UnitIsSameServer(playerLocation)
==Arguments==
:;playerLocation:
==Returns==
:;unitIsSameServer:
==Example==
Shows if your target is on the same (connected) realm.
 /dump C_PlayerInfo.UnitIsSameServer(PlayerLocation:CreateFromUnit("target"))
==Patch changes==
==See also==
*