Releases: DoneDeal0/superdiff
Releases · DoneDeal0/superdiff
v1.0.8
v1.0.5
getObjectDiff()
andisEqual()
now accept a facultativeoptions
parameter (solves #3 ):
{
discardArrayOrder?: boolean // false by default
}
If discardArrayOrder
is set to true, ["hello", "world"]
and ["world", "hello"]
will be considered as equal
, because the two arrays have the same values, just not in the same order.
- add buy me a coffee link. If you use the lib, feel free to show your support.