Skip to main content
Version: 11.x

Function: isTypeEthAddress()

isTypeEthAddress(type): type is "core::starknet::eth_address::EthAddress"

Defined in: src/utils/calldata/cairo.ts:149

Determines if the given type is an Ethereum address type.

Parameters​

type​

string

The type to check.

Returns​

type is "core::starknet::eth_address::EthAddress"

  • Returns true if the given type is 'core::starknet::eth_address::EthAddress', otherwise false.