frontend/.pnpm-store/v3/files/73/8e9d4880859adbb869c6dfdaacf9329c80fb29f8b04970eaabb78e71b7de167f1d131aebdc7a75d564f1ec281e372264ca53b57bc7266ab63d87967d438c23

7 lines
354 B
Plaintext

/** PURE_IMPORTS_START _distinctUntilChanged PURE_IMPORTS_END */
import { distinctUntilChanged } from './distinctUntilChanged';
export function distinctUntilKeyChanged(key, compare) {
return distinctUntilChanged(function (x, y) { return compare ? compare(x[key], y[key]) : x[key] === y[key]; });
}
//# sourceMappingURL=distinctUntilKeyChanged.js.map