vituarvom / react-smart-utils

A simple, smart hooks and utility functions to make development easier
https://www.npmjs.com/package/react-smart-utils
13 stars 34 forks source link

Create deepEqual Utility Function #50

Open bharat-dussa opened 4 weeks ago

bharat-dussa commented 4 weeks ago

deepEqual

Checks if two values are deeply equal.

File: src/utils/function/deepEqual/deepEqual.ts Test File: src/utils/function/deepEqual/deepEqual.test.ts

Parameters:

Returns:

Example:

deepEqual({ a: 1 }, { a: 1 });  // true
deepEqual({ a: 1 }, { a: 2 });  // false
vigneshbirru commented 4 weeks ago

"Ready to contribute to this issue, let me know how I can jump in!"