Skip to main content

isTonAddress

@bidask-protocol/sdk


@bidask-protocol/sdk / isTonAddress

Variable: isTonAddress()

const isTonAddress: (address) => boolean = isZeroAddress

Defined in: utils/address.ts:19

Checks if an address is the TON address (alias for isZeroAddress)

Checks if an address is the zero address

Parameters​

address​

Address

The address to check

Returns​

boolean

true if the address is the zero address, false otherwise

Param​

The address to check

Returns​

true if the address is the TON address, false otherwise