web3-validatorFunctionsisAddressisAddress CallableisAddress(value: ValidInputTypes, checkChecksum?: boolean): booleanChecks if a given string is a valid Ethereum address. It will also check the checksum, if the address has upper and lowercase letters.Parametersvalue: ValidInputTypescheckChecksum: boolean = trueReturns boolean
Checks if a given string is a valid Ethereum address. It will also check the checksum, if the address has upper and lowercase letters.