Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (45 loc) · 1.8 KB

deepEqual.md

File metadata and controls

56 lines (45 loc) · 1.8 KB

Object Agent

A javascript library for working with objects

npm build coverage deps size vulnerabilities license


deepEqual(item1, item2) ⇒ Boolean

Deeply compares two items.

Param Type
item1 *
item2 *

Example

import { deepEqual } from 'object-agent';

deepEqual(null, undefined);
// => false

const item1 = {
    a: ['b']
}
const item2 = {
    a: ['c']
}

deepEqual(item1, item2);
// => false