-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update objectEquals function to ignore extra elements in arrays
The objectEquals function in object.ts has been updated to include the option to ignore extra elements in arrays when comparing for equality. This change allows arrays with additional elements to be considered equal, improving the flexibility of the function. The updated function now accepts an options object with the 'ignoreExtraElements' property set to true.
- Loading branch information
Showing
2 changed files
with
72 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters