isEthAddress
function isEthAddress(address: string): boolean
Defined in: packages/iso-filecoin/src/address.js:119
Check if string is valid Ethereum address
Based on viem implementation https://github.com/wevm/viem/blob/main/src/utils/address/isAddress.ts
Parameters
Parameter | Type | Description |
---|---|---|
address | string |
Returns
boolean