@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 |
The first location object to compare. | |
b |
The second location object to compare. |
Returns: boolean
True if the location objects are equal, false otherwise.