frontend/.pnpm-store/v3/files/34/1cccb36f13df132bbacffb7cd9a3045fc3ee2380a082fdd2761509f62ce5b7e3d8a19ea69c15a8dd80c399fb4c58159d7eea67cde3843b0a7786314cf31290

5 lines
288 B
Plaintext

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