Shallow equality check for better performance when deep equality is not needed. Only compares the first level of properties.
The first value to compare.
The second value to compare.
true if the values are shallowly equal, false otherwise.
true
false
Shallow equality check for better performance when deep equality is not needed. Only compares the first level of properties.