Address.isEqual
Checks if two Address.Address
are equal.
Imports
Named
import { Address } from 'ox'
Examples
import { Address } from 'ox'
Address.isEqual(
'0xa0cf798816d4b9b9866b5330eea46a18382f251e',
'0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'
)
true
import { Address } from 'ox'
Address.isEqual(
'0xa0cf798816d4b9b9866b5330eea46a18382f251e',
'0xA0Cf798816D4b9b9866b5330EEa46a18382f251f'
)
false
Definition
function isEqual(
addressA: Address,
addressB: Address,
): boolean
Source: src/Address.ts
Parameters
addressA
- Type:
Address
The first address to compare.
addressB
- Type:
Address
The second address to compare.
Return Type
Whether the addresses are equal.
boolean