hasEquivalentFields

open fun hasEquivalentFields(obj1: Any, obj2: Any): Boolean

Given two object instances of the same type, this method accesses all their internal fields, to check if they are equivalent. There's special equality code to handle special class types e.g. Components, EventHandlers, etc. Components are considered equivalent if they have the same props.

Return

true if the two instances are equivalent. False otherwise.

Parameters

obj1
obj2