Default implementation of the equal function used by tansu when a store changes, to know if listeners need to be notified. Returns false if a is a function or an object, or if a and b are different according to Object.is. Otherwise, returns true.
a
b
Object.is
First value to compare.
Second value to compare.
true if a and b are considered equal.
Default implementation of the equal function used by tansu when a store changes, to know if listeners need to be notified. Returns false if
ais a function or an object, or ifaandbare different according toObject.is. Otherwise, returns true.