isConnected()
isConnected(): boolean
Whether the connection is open. Also see isConnecting() / isDisconnecting() / connectionState().
isConnected(): boolean
Whether the connection is open. Also see isConnecting() / isDisconnecting() / connectionState().