compareObjects

external fun compareObjects(obj1: dynamic, obj2: dynamic, ref: dynamic = definedExternally): Boolean

Compare two objects.

Return

true if all keys in ref have strictly equal values and both objects have the same number of keys.

Parameters

ref

keys to compare; defaults to the keys of obj1.