Closed austinried closed 5 years ago
I have a use case where I need to use a customized merger to compare deep array equality, and this seems to work for merge() but not where I need it, which is replace(). So, I've updated it to take the same merger function as merge().
merge()
replace()
@austinried Can't you use merge with mode: replace instead? Since replace is only a wrapper for merge?
merge
mode: replace
replace
I have a use case where I need to use a customized merger to compare deep array equality, and this seems to work for
merge()
but not where I need it, which isreplace()
. So, I've updated it to take the same merger function asmerge()
.