Skip to content

v1.0.5

Compare
Choose a tag to compare
@DoneDeal0 DoneDeal0 released this 11 Jan 15:00
· 37 commits to master since this release
  • getObjectDiff() and isEqual() now accept a facultative options 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.