Version: 2018.1
public static bool isServer ;

Description

Returns true if your peer type is server.

no example available in C#