mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 04:35:49 +00:00
24 lines
319 B
Plaintext
24 lines
319 B
Plaintext
## isConnected
|
|
|
|
`isConnected(): boolean`
|
|
|
|
Checks if the RippleAPI instance is connected to its server(s).
|
|
|
|
### Parameters
|
|
|
|
This method has no parameters.
|
|
|
|
### Return Value
|
|
|
|
This method returns `true` if connected and `false` if not connected.
|
|
|
|
### Example
|
|
|
|
```javascript
|
|
return api.isConnected();
|
|
```
|
|
|
|
```json
|
|
true
|
|
```
|