Skip to content

afeiship/is-partial-equal

Repository files navigation

is-partial-equal

Fast data equal for business data.

version license size download

installation

npm install @jswork/is-partial-equal

usage

import isPartialEqual from '@jswork/is-partial-equal';

const data1 = { name: 'afei', age: 25 };
const data2 = { name: 'afei' };

console.log(isPartialEqual(data1, data2)); // true

license

Code released under the MIT license.