Skip to main content

isContractAddress

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.15.0


@midnight-ntwrk/compact-runtime / isContractAddress

Function: isContractAddress()

function isContractAddress(x): x is string;

Tests whether the input value is a ContractAddress, i.e., string.

Parameters

x

unknown

The value that is tested to be a ContractAddress.

Returns

x is string