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