@landmineaknpm/in-quae-suscipit

1.0.0 • Public • Published

Compare objects

This function provides a recursive function to check if two objects are equal.

Installation

npm install @landmineaknpm/in-quae-suscipit

Usage

const compareObjects = require('@landmineaknpm/in-quae-suscipit')

const obj1 = {
	name: 'John',
	age: 30,
	address: {
		city: 'New York',
		country: 'USA',
	},
}

const obj2 = {
	name: 'John',
	age: 30,
	address: {
		city: 'New York',
		country: 'USA',
	},
}

console.log(compareObjects(obj1, obj2)) // true

Readme

Keywords

Package Sidebar

Install

npm i @landmineaknpm/in-quae-suscipit

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

12.5 kB

Total Files

10

Last publish

Collaborators

  • hai836799