Skip to main content
Version: 10.8.0

Function: isTypeContractAddress()

isTypeContractAddress(type): type is "core::starknet::contract_address::ContractAddress"

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

Checks if the provided type is equal to 'core::starknet::contract_address::ContractAddress'.

Parameters​

type​

string

The type to be checked.

Returns​

type is "core::starknet::contract_address::ContractAddress"

  • true if the type matches 'core::starknet::contract_address::ContractAddress', false otherwise.