mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-06 13:55:49 +00:00
20 lines
360 B
Plaintext
20 lines
360 B
Plaintext
## isValidAddress
|
|
|
|
`isValidAddress(address: string): boolean`
|
|
|
|
Checks if the specified string contains a valid address.
|
|
|
|
### Parameters
|
|
|
|
This method takes one parameter, the address to validate.
|
|
|
|
### Return Value
|
|
|
|
This method returns `true` if the address is valid and `false` if it is not.
|
|
|
|
### Example
|
|
|
|
```javascript
|
|
return api.isValidAddress("address")
|
|
```
|