1.0.3 • Published 8 years ago

is-exactly v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

is-exactly

Test for exact equality of two objects.

Usage

const isExactly = require('is-exactly');

isExactly(3, 3); // true

isExactly({ name: 'james' }, { name: 'james' }); // true

isExactly({
    name: 'James',
    age: 19,
    country: {
        name: 'United Kingdom',
        climate: 'cold'
    }
}, {
    name: 'James',
    age: 19,
    country: {
        name: 'Spain',
        climate: 'warm'
    }
}); // false

License

MIT

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago