0.2.0 • Published 5 years ago
shallow-equal-without v0.2.0
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