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.
Generated using TypeDoc
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 ifa
andb
are different according toObject.is
. Otherwise, returns true.