GameRoom.isHost property

Returns true if the client is the host of the game room, the host is the player that created the room

Signature:

get isHost(): boolean;