UNPKG

shallowequal

Version:

Like lodash isEqualWith but for shallow equal.

9 lines (7 loc) 185 B
// @flow declare module.exports: <T, U>( objA?: ?T, objB?: ?U, compare?: ?(objValue: any, otherValue: any, key?: string) => boolean | void, compareContext?: ?any ) => boolean;