Function: isHexEthAddress
Utils.isHexEthAddress
▸ isHexEthAddress(address
): address is HexEthAddress
Check if is valid ethereum address
Pretty much typed version from web3js https://github.com/ChainSafe/web3.js/blob/1.x/packages/web3-utils/src/utils.js
Parameters
Name | Type | Description |
---|---|---|
address | string | HexEthAddress | HexString <number > | Ethereum address as hex string |
Returns
address is HexEthAddress
True if is valid eth address