Function: isAddress()
function isAddress(value): value is 0x${string}
Checks if the value is an address. If the value is an address, returns true. Otherwise, returns false.
Parameters
Parameter | Type | Description |
---|---|---|
|
| The value to check. |
Returns
value is 0x${string}
Defined
@nilfoundation/niljs/src/utils/address.ts:17