This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isEqual = (first: any, second: any): boolean => { | |
if (first === second) { | |
return true; | |
} | |
if ((first === undefined || second === undefined || first === null || second === null) | |
&& (first || second)) { | |
return false; | |
} | |
const firstType = first?.constructor.name; | |
const secondType = second?.constructor.name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2011-2017 HERE Global B.V. and its affiliate(s). | |
* All rights reserved. | |
* The use of this software is conditional upon having a separate agreement | |
* with a HERE company for the use or utilization of this software. In the | |
* absence of such agreement, the use of the software is not allowed. | |
*/ | |
package com.mapstutorial.simplerouting; |