PlayerWrapper.isHost property

Returns true if the player is the host of the game, in multiplayer mode the host is the player who created the game room

Signature:

get isHost(): boolean;