You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions are currently treated as pure primitives, and are therefore treated with SameValueZero equality directly instead of using the comparator function ... apologies, I swear this used to be in the documentation, I must have removed it. I can see how ignoring functions would be a valuable use-case, though; I'll see if I can add support for areFunctionsEqual.
How can compare objects with functions, and for all functions return
true
, usingcreateCustomEqual
?my compare function
tests:
The text was updated successfully, but these errors were encountered: