A function to compare old and new values for equality.
The type of values being compared.
The previous value.
The new value to compare against.
true if values are considered equal, false otherwise.
true
false
A function to compare old and new values for equality.