@tempots/ui

areLocationsEqual() function

Compares two location objects and returns true if they are equal, false otherwise.

Signature:

areLocationsEqual: (a: LocationData, b: LocationData) => boolean

Parameters

Parameter

Type

Description

a

LocationData

The first location object to compare.

b

LocationData

The second location object to compare.

Returns: boolean

True if the location objects are equal, false otherwise.