Skip to content

mjsdevs/are-objects-equal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Comparator

Description

This module allows you to compare typed object values, such as: objects, arrays and nulls.

How to use it

Just import it and pass the objects as parameters.

Usage example

const areObjectsEqual = require('are-objects-equal').default;

const person1 = {
	name: 'Deborah',
	age: 19,
	skills: ['Javascript', 'Typescript', 'ReactJS'],
};

const person2 = {
	age: 19,
	name: 'Deborah',
	skills: ['Javascript', 'Typescript', 'ReactJS'],
};

areObjectsEqual(person1, person2); // true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published