GitHub

daffCompareAddresses

function

import { daffCompareAddresses } from '@daffodil/geography'

Compares two addresses and returns true if all of their fields are equal.

function daffCompareAddresses(
  address0: DaffAddress
  address1: DaffAddress
): boolean

Parameters

Parameteraddress0: DaffAddress
Description

An address.

Parameteraddress1: DaffAddress
Description

An address.