shallow-equal-without
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

shallow-equal-without

Shallow equal check object without specified properties.

import shallowEqualWithout from 'shallow-equal-without';

let a = { foo: 123, bar:'string', baz:true };
let b = { foo: 123, bar:'string'};

shallowEqualWithout(a,b,'baz'); // true

Readme

Keywords

none

Package Sidebar

Install

npm i shallow-equal-without

Weekly Downloads

7

Version

0.2.0

License

MIT

Unpacked Size

2.88 kB

Total Files

5

Last publish

Collaborators

  • liangxingchen