O3 Framework / shallowEqual
shallowEqual(
a,b):boolean
Defined in: packages/framework/esm-utils/src/shallowEqual.ts:13
Checks whether two objects are equal, using a shallow comparison, similar to React.
In essence, shallowEquals ensures two objects have the same own properties and that the values of these are equal (===) to each other.
unknown
The first value to compare
unknown
The second value to compare
boolean
true if the objects are shallowly equal to each other