Skip to main content
Version: Next

Function: isTypeEthAddress()

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

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

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.