Skip to main content
Version: Next

Function: isTypeContractAddress()

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

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

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.