mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 21:01:06 +03:30
7 lines
354 B
JavaScript
Vendored
7 lines
354 B
JavaScript
Vendored
/** 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
|