sdk-common / com.tomtom.online.sdk.common.util / Preconditions / isEqual

isEqual

static fun isEqual(o1: Any!, o2: Any!): Boolean

Check if two objects are equal. This handles the objects being null. When not null the objects equals() method is used.

Parameters

o1 - Any!: First object for comparison

o2 - Any!: Second object for comparison

Return
Boolean: True if objects are equal, otherwise false