Reference

shallowEqual

Compares two plain objects by own enumerable keys with `Object.is` value equality.

Signature

function shallowEqual<T>(left: T, right: T): boolean