Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 273 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 273 Bytes

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