value is a valid address.
Parameters
Returns
value is string
True if the value is a valid address.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function isAddress(value): value is string
value is a valid address.
| Parameter | Type | Description |
|---|---|---|
value | any | The value to check. |
value is string
True if the value is a valid address.
// Valid address
isAddress('0x8ba1f109551bD432803012645Ac136ddd64DBA72');
// Invalid checksum
isAddress('0x8Ba1f109551bD432803012645Ac136ddd64DBa72');
Was this page helpful?
