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